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.
This commit is contained in:
2026-07-15 14:30:24 +03:00
parent fb3ac50522
commit 9809cddbdf
+1 -1
View File
@@ -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: