fix(spartan): chain-halt alert + Block height panels — switch to aztec_status="proposed"#22978
Merged
alexghr merged 3 commits intomerge-train/spartanfrom May 6, 2026
Merged
Conversation
Dashboard panels still queried aztec_archiver_block_height with empty aztec_status (the pre-PR-21285 'pending' series). After the per-block instrumentation split, that label only advances on L1 checkpoint sync, so the panel goes flat on healthy networks. Show proposed and proven series directly — they match the post-split semantics and what the panel title implies.
alexghr
approved these changes
May 6, 2026
alexghr
approved these changes
May 6, 2026
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
After PR #21285 (Apr 9, 2026) split
ArchiverInstrumentation.processNewBlocksinto per-proposed-block and per-checkpoint methods, anything readingaztec_archiver_block_height{aztec_status=""}stopped reflecting the pending chain on healthy networks. Two consumers in this repo were affected:Chain - no new blocksalert (spartan/metrics/grafana/alerts/rules.yaml) — fires for healthy networks.Block heighttime-series panels in three dashboards (aztec_network.json,network-tps.json,fisherman.json) — go flat per service.Both now read
aztec_status="proposed"(the alert) /aztec_status=~"proposed|proven"(the panels), which match the post-split semantics.Root cause
processNewProposedBlock(called per proposed block) writesaztec.archiver.block_heightwithaztec_status="proposed".processNewCheckpointedBlocks(called when L1-confirmed checkpoints get added) writes the same gauge with no status attribute. The fast-path checkpoint promotion added in #22716 means validators that already have the proposed checkpoint locally never enteraddCheckpoints, so the empty-status series can sit flat for ≥ 10 min on healthy networks. That's enough to flip the alert and to flatten the dashboard panels.The change reached production in early May 2026 — exactly when "Grafana shows the chain halted" reports started.
Changes
Alert (1 line):
Three dashboards (1 line each, identical change):
The panels now show two series per service — the proposed chain (advances per proposed block) and the proven chain (advances per proven epoch) — instead of a single relabelled "pending" series that no longer ticks.
Notes
Current Block Heightsstat panel inaztec_network.json(lines ~255 / ~295) and theSync efficiencypanel (line ~375) still queryaztec_status=""directly. Those are out of scope for this PR — left for a follow-up so this PR stays a one-symbol-per-line change. They're less visually misleading than theBlock heighttime-series anyway.spartan/metrics/irm-monitor/(closed PR fix(spartan): point IRM dashboard + alert at renamed checkpoint metrics #22972) is unrelated and was a red herring driven by repo-vs-deployed-state drift, not the May regression.Chain - no new blocksalert should clear within ~10 min on its next evaluation. If it sticks (Grafana state caching), pause/unpause the rule.