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:
@@ -32,7 +32,7 @@ schema_config:
|
|||||||
limits_config:
|
limits_config:
|
||||||
reject_old_samples: true
|
reject_old_samples: true
|
||||||
reject_old_samples_max_age: 168h
|
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
|
max_query_series: 5000
|
||||||
|
|
||||||
compactor:
|
compactor:
|
||||||
|
|||||||
Reference in New Issue
Block a user