-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[ENH]: chroma-metering-macros #4746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Introduce Procedural Macro-Based Metering Library (chroma-metering) This PR introduces a new procedural macro-based metering library ( Key Changes: Affected Areas: This summary was automatically generated by @propel-code-bot |
…actoring with deletion
49241a6
to
ed6e4a3
Compare
…per/chroma-metering-lib
…per/chroma-metering-lib
…per/chroma-metering-lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comments are questions I will ask live
…per/chroma-metering-lib
) ## Description of changes This PR migrates all of the existing metering functionality of Chroma to use the metering library created in #4746. It does not introduce any new metering functionality on top of what was present before. ## Test plan - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes N/A
## Description of changes This PR introduces a metering library that provides a procedural macro for defining attributes and events. Please view the relevant ADR (not linked) for additional context. ## Todo - [x] First cut - [x] Change disk registry to in-memory - [x] Move registry into macros crate - [x] Realize that first cut actually doesn't work, put everything into one macro - [x] Clean up variable names/functions (readability) - [x] Formalize and expand test suite (robustness) - [x] Add documentation via comments (maintainability) ## Test plan - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes WIP
…roma-core#4868) ## Description of changes This PR migrates all of the existing metering functionality of Chroma to use the metering library created in chroma-core#4746. It does not introduce any new metering functionality on top of what was present before. ## Test plan - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes N/A
Description of changes
This PR introduces a metering library that provides a procedural macro for defining attributes and events. Please view the relevant ADR (not linked) for additional context.
Todo
Test plan
pytest
for python,yarn test
for js,cargo test
for rustDocumentation Changes
WIP