From c4a00aabae6773c788ea0c17ec2c13ac8d4cfb0d Mon Sep 17 00:00:00 2001 From: Matt Pryor Date: Thu, 2 Mar 2023 11:57:42 +0000 Subject: [PATCH] Enable retention in the Loki compactor --- charts/cluster-addons/values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/cluster-addons/values.yaml b/charts/cluster-addons/values.yaml index 661e0c9..2ef1e54 100644 --- a/charts/cluster-addons/values.yaml +++ b/charts/cluster-addons/values.yaml @@ -212,6 +212,12 @@ monitoring: namespace: monitoring-system values: loki: + # Enable retention and configure a default retention period of 31 days + config: + compactor: + retention_enabled: true + limits_config: + retention_period: 744h # Enable persistence by default persistence: enabled: true