Fix PrometheusJobMissing alert

This commit is contained in:
Mansur Marvanov 2020-07-09 16:30:50 +09:00 committed by Mansur Marvanov
parent 4cd3ff1d4a
commit 05e521c0a8
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.