obs(grafana): cache + RPC-reduction dashboard - #181
Merged
Conversation
Adds 8 panels covering every cache counter shipped in the recent pre-warm work: - bytecode cache hit ratio gauge (cumulative) - v2 reserves cache hit ratio gauge (cumulative) - RPC calls avoided in the last 5 minutes (headline win metric) - mempool refresher warm-pool gauge - bytecode hits vs RPC fetches per minute timeseries - v2 hits / stale / missing per minute timeseries - mempool pre-warm refresh latency p50/p95/p99 - mempool pre-warm inject hit / miss per minute Auto-loaded via the existing /var/lib/grafana/dashboards mount; the 30-second provisioning poll picks it up without a Grafana restart.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New Grafana dashboard
Aether — RPC Reduction Caches(uidaether-cache) visualises every counter introduced by the pre-warm cache stack (#173 / #174 / #178 / #179). Without it the only way to read the cache wins wascurl /metrics | grep.Auto-loaded via the existing
/var/lib/grafana/dashboardsbind-mount; the 30-second provisioning poll picks it up without a Grafana restart.Panels (8)
hits / (hits + rpc_fetches)hits / (hits + stale + missing)increase(bytecode_hits[5m]) + increase(v2_hits[5m])aether_mempool_prewarm_warm_poolsgaugehistogram_quantileover_duration_ms_bucketmempool_prewarm_inject_total{result=...}Hit-ratio gauges are thresholded red < 50% < orange < 80% < green so a glance reveals when a cache is failing.
Files Changed
deploy/docker/grafana/dashboards/cache.jsonAcceptance Criteria
python3 -c 'json.load(...)').job=~"aether-rust|aether-host-rust"so both compose-internal and host-side runs render.default.ymlpicks the file up viafoldersFromFilesStructure: false.Test plan
Aether — RPC Reduction Cacheslisted and panels populate from live/metricsscrape.