Commit 55f65270 authored by Stefan Prodan's avatar Stefan Prodan

move the alerting settings above the scrape configs

ref #22
parent 1c95f26d
......@@ -9,6 +9,12 @@ rule_files:
- "swarm_node.rules.yml"
- "swarm_task.rules.yml"
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
scrape_configs:
- job_name: 'prometheus'
static_configs:
......@@ -35,9 +41,4 @@ scrape_configs:
type: 'A'
port: 9100
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment