Skip to content

Commit

Permalink
Update the alerts to use a new metric substrate_unbounded_channel_size (
Browse files Browse the repository at this point in the history
#1568)

# Description

Follow up for #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.
  • Loading branch information
BulatSaif authored Oct 16, 2023
1 parent 8f1f2f3 commit 73ec161
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73ec161

Please sign in to comment.