ansible/group_vars/prom/prometheus/common.yml

12 lines
188 B
YAML
Raw Permalink Normal View History

2023-11-02 20:27:45 +01:00
---
prometheus__rules_common:
- alert: CollectorDown
2023-11-03 20:51:49 +01:00
expr:
2023-11-02 20:27:45 +01:00
up == 0
for: 3m
labels:
severity: critical
annotations:
Job: !unsafe "{{ $labels.job }}"
...