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:
|
rule_files:
|
||||||
# - "first.rules"
|
# - "first.rules"
|
||||||
# - "second.rules"
|
# - "second.rules"
|
||||||
- '/etc/prometheus.d/alerts/node_exporter.yml'
|
- '/etc/prometheus.d/alerts/*.yml'
|
||||||
- '/etc/prometheus.d/alerts/filestat.yml'
|
|
||||||
- '/etc/prometheus.d/alerts/prometheus.yml'
|
|
||||||
|
|
||||||
# A scrape configuration containing exactly one endpoint to scrape:
|
# A scrape configuration containing exactly one endpoint to scrape:
|
||||||
# Here it's Prometheus itself.
|
# Here it's Prometheus itself.
|
||||||
|
|
Loading…
Reference in New Issue