Role service-prometheus: fix NoTraffic alert

This commit is contained in:
Julian Labus 2018-11-07 15:33:41 +01:00
parent 7dcd90cff6
commit ae5dcb1575
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -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'