Change monitor retention
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user