mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-25 19:07:08 +08:00
Fix PrometheusJobMissing alert
This commit is contained in:
parent
4cd3ff1d4a
commit
05e521c0a8
2 changed files with 2 additions and 2 deletions
|
|
@ -245,4 +245,4 @@ DEPENDENCIES
|
||||||
github-pages
|
github-pages
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.17.3
|
2.1.2
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ groups:
|
||||||
- rules:
|
- rules:
|
||||||
- name: Prometheus job missing
|
- name: Prometheus job missing
|
||||||
description: A Prometheus job has disappeared
|
description: A Prometheus job has disappeared
|
||||||
query: 'absent(up{job="my-job"})'
|
query: 'absent(up{job="prometheus"})'
|
||||||
severity: warning
|
severity: warning
|
||||||
- name: Prometheus target missing
|
- name: Prometheus target missing
|
||||||
description: A Prometheus target has disappeared. An exporter might be crashed.
|
description: A Prometheus target has disappeared. An exporter might be crashed.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue