fix(spartan): point IRM dashboard + alert at renamed checkpoint metrics#22972
Closed
AztecBot wants to merge 1 commit into
Closed
fix(spartan): point IRM dashboard + alert at renamed checkpoint metrics#22972AztecBot wants to merge 1 commit into
AztecBot wants to merge 1 commit into
Conversation
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
The IRM block-height dashboard and the
NoNewBlocksalert were left queryingrollup_pending_block_number/rollup_proven_block_numberafter commit 99bb54d (Nov 2025, "Rename block to checkpoint on l1") renamed the exporter's gauges torollup_pending_checkpoint_number/rollup_proven_checkpoint_number. Combined withnoDataState: KeepLast, this caused the alert to silently stick in whatever state it was in at the rename and the panels to flatline — making perfectly healthy networks look halted.This PR updates the dashboard JSON and the alert rule to use the current metric names, and renames the alert to
NoNewCheckpointsto match the new vocabulary.Changes
spartan/metrics/irm-monitor/grafana/dashboards/block-height-monitor.json: switch all 4 PromQL exprs torollup_*_checkpoint_number; rename panel titles + legends to "Checkpoint"; bumpversion12 → 13.spartan/metrics/irm-monitor/alerting/alert-rules.yml: switch both PromQL exprs torollup_pending_checkpoint_number; rename refIds, condition, andalertname(NoNewBlocks→NoNewCheckpoints); update title and summary text. The alert UID (deq0l9s3xwetcf) anddashboardUidare preserved so Grafana treats this as an in-place update rather than a new alert.Notes
testnet-irmandmainnet-irmexporters are deployed, and per Alex it stays that way.KeepLastwas holding. Once the renamed rule is reapplied to Grafana Cloud the next evaluation pulls fresh data; if it remains stuck, the alert needs to be manually reset (togglenoDataStatetoOKfor one cycle, or delete-and-reimport).ClaudeBox log: https://claudebox.work/s/3eebfbfc0754c503?run=3