ansible/group_vars/prom/prometheus/prometheus.yml

15 lines
295 B
YAML
Raw Normal View History

2023-11-02 20:27:45 +01:00
---
prometheus__scraping_prometheus:
targets: "{{ groups.prom }}"
address:
port: 9090
prometheus__rules_prometheus:
- alert: PrometheusTsdbCompactionFailed
expr:
increase(prometheus_tsdb_compactions_failed_total[1m]) > 0
for: 0m
labels:
severity: critical
...