prometheus: show failing job when machine is down
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Alexandre Iooss 2021-12-31 15:21:46 +01:00
parent 265bd5fbb7
commit 50d9282316

View file

@ -15,6 +15,9 @@ groups:
for: 3m for: 3m
labels: labels:
severity: critical severity: critical
annotations:
summary: >-
Le collecteur {{ raw('$labels.job') }} ne marche plus
- alert: AccessPointDown - alert: AccessPointDown
expr: up{instance=~".*.borne.auro.re$"} == 0 expr: up{instance=~".*.borne.auro.re$"} == 0