monitoring: increase prometheus tsdb retention time from 15d to 30d

This commit is contained in:
2024-03-31 12:27:07 -07:00
parent bc963f28ee
commit 2e22d4c7f2
2 changed files with 19 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ services:
restart: unless-stopped
# Needed to make config files readable
user: "{{ remote_uid }}"
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.retention.time=30d
volumes:
- ./prometheus_config:/etc/prometheus:ro
- {{ base_volume_path }}/monitoring/prometheus_configs:/etc/prometheus/extra:ro