diff --git a/extras/prometheus-dashboard/docker-compose.yml b/extras/prometheus-dashboard/docker-compose.yml index aa314223..cc9e36d7 100644 --- a/extras/prometheus-dashboard/docker-compose.yml +++ b/extras/prometheus-dashboard/docker-compose.yml @@ -11,6 +11,8 @@ services: command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml + --storage.tsdb.retention.time=7d + --storage.tsdb.wal-compression volumes: - ${PROM_DIR:?err}:/etc/prometheus - prometheus_data:/var/lib/prometheus diff --git a/extras/prometheus-dashboard/prometheus/prometheus.yml b/extras/prometheus-dashboard/prometheus/prometheus.yml index 6e626a39..9e455fc0 100644 --- a/extras/prometheus-dashboard/prometheus/prometheus.yml +++ b/extras/prometheus-dashboard/prometheus/prometheus.yml @@ -1,5 +1,5 @@ global: - scrape_interval: 100ms + scrape_interval: 10s scrape_configs: - job_name: "dkv" static_configs: