Skip to content

Commit b304468

Browse files
committed
Enable exemplars in all configurations
1 parent 846d9d3 commit b304468

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

services/monitoring/docker-compose.master.yml.j2

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@ services:
66
constraints:
77
- node.labels.grafana==true
88
prometheuscatchall:
9-
command:
10-
- "--config.file=/etc/prometheus/prometheus.yml"
11-
- "--storage.tsdb.path=/prometheus"
12-
- "--storage.tsdb.retention=${MONITORING_PROMETHEUS_RETENTION}"
13-
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
14-
- "--web.console.templates=/usr/share/prometheus/consoles"
15-
- "--web.external-url=https://${MONITORING_DOMAIN}/prometheus/"
16-
- "--web.route-prefix=/"
17-
- "--storage.tsdb.allow-overlapping-blocks" # via https://jessicagreben.medium.com/prometheus-fill-in-data-for-new-recording-rules-30a14ccb8467
18-
- "--enable-feature=exemplar-storage"
199
deploy:
2010
placement:
2111
constraints:

services/monitoring/docker-compose.yml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ services:
4444
- "--web.external-url=https://${MONITORING_DOMAIN}/prometheus/"
4545
- "--web.route-prefix=/"
4646
- "--storage.tsdb.allow-overlapping-blocks" # via https://jessicagreben.medium.com/prometheus-fill-in-data-for-new-recording-rules-30a14ccb8467
47+
- "--enable-feature=exemplar-storage"
4748
#- "--web.enable-admin-api" This allows messing with prometheus using its API from the CLI. Disabled for security reasons by default.
4849
networks:
4950
- monitored

0 commit comments

Comments
 (0)