Role service-prometheus: fix NoTraffic alert
This commit is contained in:
parent
7dcd90cff6
commit
ae5dcb1575
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@ groups:
|
|||
|
||||
- name: fastd
|
||||
rules:
|
||||
- alert: NoTraffic
|
||||
expr: fastd_tx_bytes{interface!~".*-1312"} == 0
|
||||
- alert: FastdNoTraffic
|
||||
expr: irate(fastd_tx_bytes{interface!~".*-1312"}[5m]) == 0
|
||||
for: 5m
|
||||
annotations:
|
||||
description: 'No TX data was seen on a fastd interface for more than 5 minutes'
|
||||
|
|
Loading…
Reference in a new issue