From db327830f8896dfb0c8d145cdef5f9e0e7a98e43 Mon Sep 17 00:00:00 2001 From: Kinshuk Bairagi Date: Mon, 13 May 2024 15:05:11 +0530 Subject: [PATCH] extras: minor changes to p8s configuration --- extras/prometheus-dashboard/docker-compose.yml | 2 ++ extras/prometheus-dashboard/prometheus/prometheus.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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: