prometheus: increase retention.time to 150 days

This commit is contained in:
alex.sharov 2022-02-12 09:04:52 +07:00
parent b26a56e814
commit c454e25543

View File

@ -24,7 +24,7 @@ services:
prometheus:
image: prom/prometheus:v2.33.3
user: 1000:1000 # Uses erigon user from Dockerfile
command: --log.level=warn --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus --storage.tsdb.retention.time=150 --web.console.libraries=/usr/share/prometheus/console_libraries --web.console.templates=/usr/share/prometheus/consoles
command: --log.level=warn --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus --storage.tsdb.retention.time=5m --web.console.libraries=/usr/share/prometheus/console_libraries --web.console.templates=/usr/share/prometheus/consoles
ports:
- "9090:9090"
volumes: