Monitor all the config files under `/etc/prometheus.d/alerts`.
This commit is contained in:
parent
291e369aba
commit
3c6931f86f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue