From 715cd3dce8948a263e908b120dee39b1a9525e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Tue, 9 Jun 2026 12:17:54 +0200 Subject: [PATCH] Apply suggestion from @stigi --- infrastructure/docker-compose.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/infrastructure/docker-compose.yml b/infrastructure/docker-compose.yml index 9cd36dc..57a8057 100644 --- a/infrastructure/docker-compose.yml +++ b/infrastructure/docker-compose.yml @@ -201,13 +201,7 @@ services: command: - "--config.file=/etc/prometheus/prometheus.yml" - "--storage.tsdb.retention.time=15d" - # Size-based retention is a disk-safety backstop, not the primary - # policy (time=15d is). It counts the WAL toward the budget, so a - # too-small cap makes Prometheus delete freshly-compacted blocks on - # creation — which it did at 1GB, leaving only the ~2h head block - # queryable (a stuck/corrupt WAL had bloated to 2.1GB). 6GB holds - # ~15d of metrics at current cardinality with headroom; disk is 38G. - - "--storage.tsdb.retention.size=6GB" + - "--storage.tsdb.retention.size=2GB" loki: image: grafana/loki:latest