From 6f7770705c2c9f56d7b60b0a895e2143422999f9 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Tue, 20 Jul 2021 15:22:07 +0200 Subject: [PATCH] set chunks period to 24 hours so that we can retain chunks shorter --- flux2/apps/monitoring/loki-values-configmap.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flux2/apps/monitoring/loki-values-configmap.yaml b/flux2/apps/monitoring/loki-values-configmap.yaml index 199e4e077..293aea932 100644 --- a/flux2/apps/monitoring/loki-values-configmap.yaml +++ b/flux2/apps/monitoring/loki-values-configmap.yaml @@ -39,6 +39,8 @@ data: index: prefix: index_ period: 24h + chunks: + period: 24h storage_config: boltdb_shipper: active_index_directory: /data/loki/boltdb-shipper-active @@ -58,4 +60,3 @@ data: table_manager: retention_deletes_enabled: true retention_period: 168h # 7 days - -- GitLab