Repository navigation
Zumo grafana prometheus dashboard - #510
Conversation
added !grafana/dashboards/*.json in .gitignore added grafana/dashboards/prom-memtier.json
added Grafana dashboard instructions
| "regex": "", | ||
| "skipUrlSync": false, | ||
| "sort": 1, | ||
| "type": "query" |
There was a problem hiding this comment.
Run filter excludes unlabeled metrics
High Severity
Every panel selector includes run=~"$run" with the Run variable’s allValue set to .*. In PromQL, that matcher only matches series that actually have a run label. The exporter adds custom labels only via --prometheus-run-label (optional by default), so a typical --prometheus-port run has no run label and all panels stay empty even when “All” is selected—contrary to the Run variable description.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 860e514. Configure here.
Remove a double space before "into", drop trailing whitespace, and add a final newline in the Grafana dashboard import section. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 28f4e38. Configure here.
| "expr": "sum by (instance, run) (rate(memtier_hits_total{instance=~\"$instance\", run=~\"$run\"}[$__rate_interval])) / (sum by (instance, run) (rate(memtier_hits_total{instance=~\"$instance\", run=~\"$run\"}[$__rate_interval])) + sum by (instance, run) (rate(memtier_misses_total{instance=~\"$instance\", run=~\"$run\"}[$__rate_interval])))", | ||
| "legendFormat": "{{run}} {{instance}}", | ||
| "refId": "A" | ||
| } |
There was a problem hiding this comment.
Hit ratio omits arbitrary misses
Medium Severity
The Hit Ratio and Hits / Misses panels use only memtier_hits_total and memtier_misses_total, while the exporter exposes --command traffic on memtier_arbitrary_hits_total and memtier_arbitrary_misses_total. The panel text says arbitrary hits are folded into those totals, which the exporter does not do.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 28f4e38. Configure here.
fcostaoliveira
left a comment
There was a problem hiding this comment.
Reviewed. Docs + Grafana JSON only, low risk.
- All 30 PromQL expressions map to real metrics emitted by the exporter (
prometheus_metrics.cpp) — no name mismatches. --prometheus-port/--prometheus-run-label=run=NAMEmatch the actual flags.- Dashboard JSON is valid (20 panels); uid
memtier-prometheusdoesn't collide with the Graphitememtier.json.
On the Cursor Bugbot "Run filter excludes unlabeled metrics" finding: this is a false positive. In PromQL a matcher that matches the empty string also selects series that don't have the label at all, and the Run variable's allValue is .* — so run=~".*" (the "All" case) does include runs started without --prometheus-run-label. The variable description is correct as written.
Pushed a small follow-up commit fixing whitespace nits in REALTIME_METRICS.md (double space, trailing whitespace, missing final newline).
* added memtier grafana dashboard for prometheus added !grafana/dashboards/*.json in .gitignore added grafana/dashboards/prom-memtier.json * Update REALTIME_METRICS.md added Grafana dashboard instructions * docs: fix REALTIME_METRICS.md whitespace nits Remove a double space before "into", drop trailing whitespace, and add a final newline in the Grafana dashboard import section. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> --------- Co-authored-by: fcostaoliveira <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
* added memtier grafana dashboard for prometheus added !grafana/dashboards/*.json in .gitignore added grafana/dashboards/prom-memtier.json * Update REALTIME_METRICS.md added Grafana dashboard instructions * docs: fix REALTIME_METRICS.md whitespace nits Remove a double space before "into", drop trailing whitespace, and add a final newline in the Grafana dashboard import section. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> --------- Co-authored-by: fcostaoliveira <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>


Added a memtier grafana dashboard for the prometheus datasource
Note
Low Risk
Documentation and Grafana JSON only; no application or exporter code changes.
Overview
Adds a Prometheus Grafana dashboard at
grafana/dashboards/prom-memtier.jsonfor live runs using--prometheus-port, alongside the existing Graphite-orientedmemtier.json.The new dashboard wires PromQL across the exported
memtier_*metrics (throughput, latency percentiles and heatmap, bytes, hits/misses, errors, retries, connections/threads, run progress, build info, and exporter health). Instance, Run (--prometheus-run-label=run=NAME), and ad hoc label Filters support comparing multiple benchmark processes or labeled runs on one view..gitignorenow un-ignoresgrafana/dashboards/*.jsonso dashboard definitions are versioned despite the global*.jsonrule.docs/REALTIME_METRICS.mdsplits Grafana import instructions into separate Graphite and Prometheus sections and points Prometheus users atprom-memtier.json.Reviewed by Cursor Bugbot for commit 28f4e38. Bugbot is set up for automated code reviews on this repo. Configure here.