Enable integration with Alert Manager.
This commit is contained in:
parent
6f0f7ff472
commit
ff6d4a7185
|
@ -13,6 +13,8 @@ global:
|
|||
rule_files:
|
||||
# - "first.rules"
|
||||
# - "second.rules"
|
||||
- '/etc/prometheus.d/alerts/node_exporter.yml'
|
||||
- '/etc/prometheus.d/alerts/prometheus.yml'
|
||||
|
||||
# A scrape configuration containing exactly one endpoint to scrape:
|
||||
# Here it's Prometheus itself.
|
||||
|
@ -41,3 +43,9 @@ scrape_configs:
|
|||
bearer_token: 'e351393306ea245de5f9588cbe8627c74db007c6'
|
||||
static_configs:
|
||||
- targets: ['10.0.1.234:9099']
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "localhost:9093"
|
||||
|
||||
|
|
Loading…
Reference in New Issue