diff --git a/docker-compose-config-a.yaml b/docker-compose-config-a.yaml index ad134a7..3a3353a 100644 --- a/docker-compose-config-a.yaml +++ b/docker-compose-config-a.yaml @@ -418,13 +418,16 @@ services: - "NTM_FILTERS=" prometheus: - image: prom/prometheus:v2.36.2 + image: prom/prometheus:v2.47.2 volumes: - ./prometheus/:/etc/prometheus/ - prometheus_data_config_a:/prometheus command: - "--config.file=/etc/prometheus/prometheus.yml" - "--storage.tsdb.path=/prometheus" + - "--storage.tsdb.retention.time=7d" + - "--storage.tsdb.retention.size=2GB" + - "--storage.tsdb.wal-compression" - "--web.console.libraries=/usr/share/prometheus/console_libraries" - "--web.console.templates=/usr/share/prometheus/consoles" - "--web.enable-lifecycle" diff --git a/docker-compose-config-c.yaml b/docker-compose-config-c.yaml index 059b113..69a23f5 100644 --- a/docker-compose-config-c.yaml +++ b/docker-compose-config-c.yaml @@ -343,13 +343,16 @@ services: - "NTM_FILTERS=" prometheus: - image: prom/prometheus:v2.36.2 + image: prom/prometheus:v2.47.2 volumes: - ./prometheus/:/etc/prometheus/ - prometheus_data_config_c:/prometheus command: - "--config.file=/etc/prometheus/prometheus.yml" - "--storage.tsdb.path=/prometheus" + - "--storage.tsdb.retention.time=7d" + - "--storage.tsdb.retention.size=2GB" + - "--storage.tsdb.wal-compression" - "--web.console.libraries=/usr/share/prometheus/console_libraries" - "--web.console.templates=/usr/share/prometheus/consoles" - "--web.enable-lifecycle"