mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-25 02:46:59 +08:00
Merge pull request #134 from nanorobocop/fix-prometheus-job-missing-alert
Fix PrometheusJobMissing alert
This commit is contained in:
commit
8af9ca4ba8
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