Fix alert about delay between best and finalized block (#9150)

* Fix alert about delay between best and finalized block

* Revert debugging changes
This commit is contained in:
Pierre Krieger
2021-06-23 17:17:10 +02:00
committed by GitHub
parent 6ccb5dc713
commit 4366e68d08
@@ -47,8 +47,8 @@ groups:
# Under the assumption of an average block production of 6 seconds,
# "best" and "finalized" being more than 10 blocks apart would imply
# more than a 1 minute delay between block production and finalization.
expr: '(polkadot_block_height_number{status="best"} - ignoring(status)
polkadot_block_height_number{status="finalized"}) > 10'
expr: '(polkadot_block_height{status="best"} - ignoring(status)
polkadot_block_height{status="finalized"}) > 10'
for: 8m
labels:
severity: critical