Use external head for subgraph alerts and show blockProcessingOffset on watcher dashboard #861

Open
prathamesh wants to merge 4 commits from deep-stack/stack-orchestrator:pm-update-monitoring into main
Showing only changes of commit 54307004da - Show all commits

View File

@ -19,7 +19,7 @@ groups:
type: prometheus
uid: PBFA97CFB590B2093
editorMode: code
expr: ethereum_chain_head_number - on(network) group_right deployment_head{deployment=~"REPLACE_WITH_SUBGRAPH_IDS"}
expr: label_replace(latest_block_number{instance="external"}, "network", "$1", "chain", "(.*)") - on(network) group_right deployment_head{deployment=~"REPLACE_WITH_SUBGRAPH_IDS"}
instant: true
intervalMs: 1000
legendFormat: __auto