Monitor all the config files under `/etc/prometheus.d/alerts`.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-24 13:13:53 +09:00
parent 291e369aba
commit 3c6931f86f
1 changed files with 1 additions and 3 deletions

View File

@ -13,9 +13,7 @@ global:
rule_files:
# - "first.rules"
# - "second.rules"
- '/etc/prometheus.d/alerts/node_exporter.yml'
- '/etc/prometheus.d/alerts/filestat.yml'
- '/etc/prometheus.d/alerts/prometheus.yml'
- '/etc/prometheus.d/alerts/*.yml'
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.