[Observability] Relocate MP observability to lmcache/v1/mp_observability#2657
[Observability] Relocate MP observability to lmcache/v1/mp_observability#2657ApostaC merged 3 commits intoLMCache:devfrom
Conversation
Signed-off-by: ApostaC <yihua98@uchicago.edu>
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 refactors the project's observability components by relocating the entire MP (multi-process) observability stack to its own dedicated module. This change aims to decouple observability concerns from the distributed module and establish a clearer, more intuitive project structure. The 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 is a well-executed refactoring that relocates the multi-process (MP) observability stack to a new, more appropriately named module. The changes are consistent across the source code, tests, and documentation, improving the overall structure. I have one minor suggestion to enhance documentation clarity in the newly created configuration file.
| """ | ||
| The configuration for the Prometheus observability stack. | ||
| """ |
There was a problem hiding this comment.
The class docstring is a bit generic. To improve clarity and align with the module's purpose, consider explicitly mentioning that this configuration is for the MP-mode observability stack, which would be helpful for anyone inspecting the class directly.
| """ | |
| The configuration for the Prometheus observability stack. | |
| """ | |
| """ | |
| The configuration for the MP-mode Prometheus observability stack. | |
| """ |
Signed-off-by: ApostaC <yihua98@uchicago.edu>
KuntaiDu
left a comment
There was a problem hiding this comment.
LGTM, just moving the files
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu>
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu> Signed-off-by: Ofer Kiselov Nahman <ofer.kiselovnahman@weka.io>
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu>
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu>
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu> Signed-off-by: shaoxiawjc <wjc2800@163.com>
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu> Signed-off-by: Aaron Wu <aaron.wu@dell.com>
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu>
…ity (LMCache#2657) * move the mp mode observability to lmcache/v1/mp_observability Signed-off-by: ApostaC <yihua98@uchicago.edu> * skip the cpu test Signed-off-by: ApostaC <yihua98@uchicago.edu> --------- Signed-off-by: ApostaC <yihua98@uchicago.edu>
Summary
Resolves #2652
lmcache/v1/distributed/observability/→lmcache/v1/mp_observability/so the observability stack is no longer buried inside the distributed modulePrometheusConfigfromdistributed/config.pyintomp_observability/config.pymp_observability(notobservability) to avoid confusion with the existinglmcache/observability.pyfor non-MP modeTest plan
pytest -xvs tests/v1/mp_observability/)pytest -xvs tests/v1/distributed/)pre-commit run --all-files)🤖 Generated with Claude Code