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
|
- name: fastd
|
||||||
rules:
|
rules:
|
||||||
- alert: NoTraffic
|
- alert: FastdNoTraffic
|
||||||
expr: fastd_tx_bytes{interface!~".*-1312"} == 0
|
expr: irate(fastd_tx_bytes{interface!~".*-1312"}[5m]) == 0
|
||||||
for: 5m
|
for: 5m
|
||||||
annotations:
|
annotations:
|
||||||
description: 'No TX data was seen on a fastd interface for more than 5 minutes'
|
description: 'No TX data was seen on a fastd interface for more than 5 minutes'
|
||||||
|
|
Loading…
Reference in a new issue