mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
Publish
This commit is contained in:
parent
e60601fdcd
commit
0693ed168e
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ groups:
|
|||
summary: Prometheus job missing (instance {{ $labels.instance }})
|
||||
description: "A Prometheus job has disappeared\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
# Only fire if at least one target in the job is still up.
|
||||
# If all targets are down, PrometheusJobMissing or PrometheusAllTargetsMissing will fire instead.
|
||||
- alert: PrometheusTargetMissing
|
||||
expr: 'up == 0 unless on(job) (sum by (job) (up) == 0)'
|
||||
for: 0m
|
||||
|
|
|
|||
Loading…
Reference in a new issue