From 9809cddbdf72c6df811c922a9d44916edbc1d759 Mon Sep 17 00:00:00 2001 From: pipistrello Date: Wed, 15 Jul 2026 14:30:24 +0300 Subject: [PATCH] Extend Loki retention to 365 days (was 90) Operator requirement: logs must persist at least one year. Applied live (data-preserving restart, verified prior data survived) and here for the next redeploy to stay in sync. --- logging/loki-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging/loki-config.yaml b/logging/loki-config.yaml index 2cd09ea..07196d7 100644 --- a/logging/loki-config.yaml +++ b/logging/loki-config.yaml @@ -32,7 +32,7 @@ schema_config: limits_config: reject_old_samples: true reject_old_samples_max_age: 168h - retention_period: 2160h # 90 days — adjust to taste, disk on this host is ~42GB free + retention_period: 8760h # 365 days — required minimum; monitor disk usage as fleet onboarding grows (host has ~40GB free) max_query_series: 5000 compactor: