ansible/group_vars/prom/prometheus/common.yml

11 lines
190 B
YAML

---
prometheus__rules_common:
- alert: CollectorDown
expr: >
up == 0
for: 3m
labels:
severity: critical
annotations:
Job: !unsafe "{{ $labels.job }}"
...