-
Couldn't load subscription status.
- Fork 660
chore: Remove deprecated components/metrics and references #3475
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
- Remove components/metrics directory and all associated files - Remove deprecated grafana-llm-metrics.json dashboard (used old llm_kv_* metrics) - Update Cargo.toml workspace members - Update deploy/metrics/README.md to remove references to deprecated metrics component - Update deploy/metrics/prometheus.yml to remove metrics-aggregation-service job - Fix frontend port from 8080 to correct default 8000 Signed-off-by: Keiven Chang <[email protected]>
WalkthroughRemoved the deprecated metrics component crate (library, binaries, manifest, docs) and legacy Grafana dashboard. Updated workspace Cargo configuration, deployment README, and Prometheus scrape config (frontend port 8080→8000; removed metrics-aggregation job). Documentation now references Prometheus targets and a new KVBM dashboard. Changes
Sequence Diagram(s)Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (9)
💤 Files with no reviewable changes (7)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Keiven Chang <[email protected]>
Signed-off-by: Keiven Chang <[email protected]>
Overview:
This PR removes the deprecated
components/metricsaggregation service and all references to it. The metrics functionality has been replaced by the newMetricsRegistrysystem built into the runtime.Details:
components/metricsdirectory (6 files: Cargo.toml, README.md, source files, and mock worker)grafana-llm-metrics.jsondashboard that relied on oldllm_kv_*metricsCargo.tomlto remove metrics componentdeploy/metrics/README.mdby removing references to deprecated metrics componentdeploy/metrics/prometheus.ymlto remove the deprecatedmetrics-aggregation-servicescrape jobWhere should the reviewer start?
Cargo.toml- verify workspace members are correctdeploy/metrics/prometheus.yml- verify scrape configs are still validdeploy/metrics/README.md- verify documentation is still accurate/coderabbit profile chill
Summary by CodeRabbit
New Features
Documentation
Chores
Refactor