mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +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
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.3
|
||||
2.1.2
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ groups:
|
|||
- rules:
|
||||
- name: Prometheus job missing
|
||||
description: A Prometheus job has disappeared
|
||||
query: 'absent(up{job="my-job"})'
|
||||
query: 'absent(up{job="prometheus"})'
|
||||
severity: warning
|
||||
- name: Prometheus target missing
|
||||
description: A Prometheus target has disappeared. An exporter might be crashed.
|
||||
|
|
|
|||
Loading…
Reference in a new issue