Skip to content
Snippets Groups Projects
Unverified Commit 73ec161e authored by Bulat Saifullin's avatar Bulat Saifullin Committed by GitHub
Browse files

Update the alerts to use a new metric substrate_unbounded_channel_size (#1568)

# Description

Follow up for https://github.com/paritytech/polkadot-sdk/pull/1489.
Closes #611 

Before we calculated the channel size during alert expression but in
#1489 a new metric was introduced that reports channel size.
## Changes:
1. updated alert rule to use new metric.
parent 8f1f2f35
No related merge requests found
Pipeline #401106 canceled with stages
in 49 minutes and 1 second
......@@ -146,11 +146,7 @@ groups:
hours.'
- alert: UnboundedChannelPersistentlyLarge
expr: '(
(substrate_unbounded_channel_len{action = "send"} -
ignoring(action) substrate_unbounded_channel_len{action = "received"})
or on(instance) substrate_unbounded_channel_len{action = "send"}
) >= 200'
expr: 'substrate_unbounded_channel_size >= 200'
for: 5m
labels:
severity: warning
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment