From 58d2705a5bfe7077671e235768050c5c0375dfdc Mon Sep 17 00:00:00 2001
From: Kristian Klausen <kristian@klausen.dk>
Date: Fri, 18 Feb 2022 20:31:21 +0100
Subject: [PATCH] loki: Shorten retention period to 2 months to reduce space
 usage

We are running short on storage and don't really need 3 months of log,
so reduce it to 2 months instead of expanding the disk.
---
 roles/loki/files/loki.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/loki/files/loki.yaml b/roles/loki/files/loki.yaml
index 022ec96e4..280512ff2 100644
--- a/roles/loki/files/loki.yaml
+++ b/roles/loki/files/loki.yaml
@@ -38,5 +38,5 @@ compactor:
 
 limits_config:
   max_query_series: 10000
-  retention_period: 91d
-  max_query_lookback: 91d
+  retention_period: 61d
+  max_query_lookback: 61d
-- 
GitLab