Round throughput alerts to be less flappy

This commit is contained in:
Sandro - 2023-01-09 23:39:31 +01:00
parent fb77c92330
commit f6fbb6ae04
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ groups:
summary: memory full
- alert: throughput0
expr: increase(collectd_interface_if_octets_0_total[10m]) > 10 * 3600 * 1024^2
expr: round(increase(collectd_interface_if_octets_0_total[10m]),100000000) > 10*3600*1024^2
for: 2h
labels:
severity: warn
@ -76,7 +76,7 @@ groups:
summary: sustained throughput
- alert: throughput1
expr: increase(collectd_interface_if_octets_1_total[10m]) > 10 * 3600 * 1024^2
expr: round(increase(collectd_interface_if_octets_1_total[10m]),100000000) > 10*3600*1024^2
for: 2h
labels:
severity: warn