Change monitor retention

This commit is contained in:
2024-03-26 04:20:32 +00:00
parent dddfb51817
commit 3fef7da3a1

View File

@@ -16,10 +16,9 @@ services:
prometheus: prometheus:
image: prom/prometheus:latest image: prom/prometheus:latest
container_name: grafana-prometheus-1
restart: always restart: always
command: command:
- --storage.tsdb.retention.time=7d - --storage.tsdb.retention.time=365d
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
ports: ports:
- "8083:9090" - "8083:9090"