Skip to content

Instantly share code, notes, and snippets.

@juan-rosero
juan-rosero / rules.yaml
Created April 1, 2020 02:51
Awesome Prometheus Alerts
groups:
- name: Prometheus self-monitoring
rules:
# A Prometheus job has disappeared
- alert: PrometheusJobMissing
expr: absent(up{job="my-job"})
for: 5m
labels:
severity: warning