Commit 4858de10 authored by Jorge Barnaby's avatar Jorge Barnaby

Configurable prometheus retention

parent 039c52c8
This diff is collapsed.
......@@ -196,7 +196,7 @@ services:
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--storage.tsdb.retention=24h'
- '--storage.tsdb.retention.time=${PROMETHEUS_RETENTION:-24h}'
volumes:
- prometheus:/prometheus
configs:
......
......@@ -153,7 +153,7 @@ services:
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--storage.tsdb.retention=24h'
- '--storage.tsdb.retention.time=${PROMETHEUS_RETENTION:-24h}'
volumes:
- prometheus:/prometheus
configs:
......
......@@ -121,7 +121,7 @@ services:
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.path=/prometheus'
- '--storage.tsdb.retention=24h'
- '--storage.tsdb.retention.time=${PROMETHEUS_RETENTION:-24h}'
volumes:
- prometheus:/prometheus
deploy:
......
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