Merge pull request #134 from nanorobocop/fix-prometheus-job-missing-alert

Fix PrometheusJobMissing alert
This commit is contained in:
Samuel Berthe 2020-10-11 17:48:42 +02:00 committed by GitHub
commit 8af9ca4ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -245,4 +245,4 @@ DEPENDENCIES
github-pages
BUNDLED WITH
1.17.3
2.1.2

View file

@ -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.