We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b097f6 commit 14c94cdCopy full SHA for 14c94cd
grafana_v2/demo_v2/docker-compose.yml
@@ -3,6 +3,7 @@ services:
3
image: prom/prometheus:latest
4
volumes:
5
- ./prometheus.yml:/etc/prometheus/prometheus.yml
6
+ - ../../prometheus_v2/rules/alerts.yml:/etc/prometheus/rules/alerts.yml
7
ports:
8
- "9090:9090"
9
networks:
grafana_v2/demo_v2/prometheus.yml
@@ -13,7 +13,7 @@ global:
13
14
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
15
rule_files:
16
- # - "first_rules.yml"
+ - "/etc/prometheus/rules/alerts.yml"
17
# - "second_rules.yml"
18
19
# A scrape configuration containing exactly one endpoint to scrape:
0 commit comments