Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
panos-xyz
added a commit
that referenced
this pull request
Nov 24, 2026
… restarts Extend PR 233's series-churn fix from State & History Growth to the rest of the morph-reth Grafana dashboard so long time ranges (30d/60d/90d) render accurately when pod restarts or redeploys change the instance label: - Snapshot pie charts and bar gauge (#3, #45, #47, #51, #104): switch to instant queries and aggregate with max by (service, ...) (two-level sum/max for DB Pages) so historical dead instances no longer duplicate slices. - Broken aggregations (#39 DB Average Commit Time, #41 DB Average Transaction Open Time, #120 CPU, #40/#62/#64 heatmaps): compute weighted averages via sum(rate(sum)) / sum(rate(count)) instead of summing/averaging per-series ratios, fix CPU from avg(rate(...[1m])) to sum(rate(...[$__rate_interval])), and use max for peak latency heatmaps. - Unaggregated rate/increase panels (17 panels, e.g. Block Import Rate, Engine Tree, Proof History, TxPool, P2P) and rate(sum)/rate(count) panels (9 panels): aggregate with sum by (service[, segment]) to eliminate multi-hour 50% dips and duplicate legends at restart boundaries. - Raw gauge sum-by-service panels (14 panels including Node Storage & Height, DB Growth, Static Files Growth, State Size, History Size, RPC Active Connections): replace raw sum by (service) with max by (service) or two-level sum by (service) (max by (service, table|segment)) to eliminate 2x spikes during restart overlap. - Remaining unaggregated gauge/summary/stat timeseries panels: wrap with max by (service, <legend labels>) (avg by (service) for avg_over_time) to preserve continuous single lines and clean legends across restarts. Verified all 258 PromQL expressions against live Prometheus 3.5.0 (0 errors) and compared before/after query outputs via Grafana 13.3.1 over a 30-day synthetic dataset with 5 instance restarts and rolling overlap.
4 of 7 tasks
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
set_block_tagsupdatesTest Plan