prometheus: add nomadbatch error alert
This commit is contained in:
parent
29a6f1ae1a
commit
989453a16a
@ -160,6 +160,12 @@ groups:
|
|||||||
annotations:
|
annotations:
|
||||||
summary: Nomad job queued (instance {{ $labels.instance }})
|
summary: Nomad job queued (instance {{ $labels.instance }})
|
||||||
description: "Nomad job queued\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "Nomad job queued\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
- alert: NomadBatchError
|
||||||
|
expr: nomad_nomad_job_summary_failed{parent_id=~".+"}>0
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: Nomad batch {{ $labels.parent_id}} error
|
||||||
|
|
||||||
|
|
||||||
EOH
|
EOH
|
||||||
|
Loading…
Reference in New Issue
Block a user