Round metric

This commit is contained in:
Sandro - 2023-01-07 19:19:19 +01:00
parent fe8990df7b
commit 34b3a07ded
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ groups:
summary: instance has high load avg
- alert: systemd_unit_failed
expr: increase(node_systemd_unit_state{state="failed"}[7d]) >= 1
expr: round(increase(node_systemd_unit_state{state="failed"}[7d])) >= 1
for: 10m
labels:
severity: error