Role service-prometheus: fix broken rule FastdNoTraffic

This commit is contained in:
Julian Labus 2019-03-14 23:20:59 +01:00
parent acaf0e63e6
commit af832f3703
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -104,7 +104,7 @@ groups:
- name: fastd
rules:
- alert: FastdNoTraffic
expr: irate(fastd_tx_bytes[5m]) == 0 and ON(hostname) (time() - fastd_uptime_seconds{job="node"}) / 60 > 30
expr: irate(fastd_tx_bytes[5m]) == 0 and on(hostname,interface) (fastd_uptime_seconds / 60) > 15
for: 5m
annotations:
description: 'No TX data was seen on a fastd interface for more than 5 minutes'