[Docs][Operator] Fix observability metric descriptions#2746
[Docs][Operator] Fix observability metric descriptions#2746KuntaiDu merged 2 commits intoLMCache:devfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the observability metric descriptions within the LMCache system and its corresponding documentation. The changes aim to enhance clarity and accuracy for both L1 stats logger and StorageManager metrics, ensuring that the reported data is understood correctly by users and developers. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the descriptions for observability metrics in the documentation and in the code to improve clarity and correctness. The changes correctly align the metric descriptions for L1 with their implementation (counting 'finished' operations, not 'reserved'). The updated descriptions for StorageManager metrics are also an improvement, but contain minor grammatical errors. I've suggested fixes to correct the grammar and improve the phrasing for consistency with the documentation.
| self._sm_read_succeed_keys_counter = self.create_counter( | ||
| "lmcache_mp:sm_read_succeed_keys", | ||
| "Total number of keys that were cache hits in SM read", | ||
| "Total number of keys that were succeed in reading from LMCache", |
There was a problem hiding this comment.
There's a grammatical error in this metric description. "were succeed" should be "succeeded". For better clarity and consistency with the documentation, I suggest rephrasing this.
| "Total number of keys that were succeed in reading from LMCache", | |
| "Total number of keys that succeeded in reading from LMCache", |
| self._sm_read_failed_keys_counter = self.create_counter( | ||
| "lmcache_mp:sm_read_failed_keys", | ||
| "Total number of keys that were cache misses in SM read", | ||
| "Total number of keys that were cache failed in reading LMCache", |
There was a problem hiding this comment.
The phrasing "were cache failed" is awkward and grammatically incorrect. I suggest simplifying this description to align with the phrasing in docs/source/mp/observability.rst.
| "Total number of keys that were cache failed in reading LMCache", | |
| "Total number of keys that failed in reading from LMCache", |
Update Prometheus metric descriptions in L1 and StorageManager stats loggers and corresponding docs to accurately reflect what is measured. Signed-off-by: royyhuang <roy.y.huang@gmail.com>
[Docs] Fix observability metric descriptions to match actual behavior Update Prometheus metric descriptions in L1 and StorageManager stats loggers and corresponding docs to accurately reflect what is measured. Signed-off-by: royyhuang <roy.y.huang@gmail.com>
[Docs] Fix observability metric descriptions to match actual behavior Update Prometheus metric descriptions in L1 and StorageManager stats loggers and corresponding docs to accurately reflect what is measured. Signed-off-by: royyhuang <roy.y.huang@gmail.com> Signed-off-by: Aaron Wu <aaron.wu@dell.com>
[Docs] Fix observability metric descriptions to match actual behavior Update Prometheus metric descriptions in L1 and StorageManager stats loggers and corresponding docs to accurately reflect what is measured. Signed-off-by: royyhuang <roy.y.huang@gmail.com>
[Docs] Fix observability metric descriptions to match actual behavior Update Prometheus metric descriptions in L1 and StorageManager stats loggers and corresponding docs to accurately reflect what is measured. Signed-off-by: royyhuang <roy.y.huang@gmail.com>
[Docs] Fix observability metric descriptions to match actual behavior Update Prometheus metric descriptions in L1 and StorageManager stats loggers and corresponding docs to accurately reflect what is measured. Signed-off-by: royyhuang <roy.y.huang@gmail.com>
[Docs] Fix observability metric descriptions to match actual behavior Update Prometheus metric descriptions in L1 and StorageManager stats loggers and corresponding docs to accurately reflect what is measured. Signed-off-by: royyhuang <roy.y.huang@gmail.com>
Summary
docs/source/mp/observability.rstto match the corrected descriptionsTest plan