From fe5535beca29dccaea4edea4ea481eda88bd92c9 Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Sun, 14 Apr 2024 00:45:35 +0200 Subject: [PATCH] loki: fix migration issue from boltdb to tsdb --- loki/values.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/loki/values.yaml b/loki/values.yaml index bcefb77..d153077 100644 --- a/loki/values.yaml +++ b/loki/values.yaml @@ -9,6 +9,32 @@ loki: auth_enabled: false persistence: size: 30Gi + schemaConfig: + configs: + - from: 2024-01-01 + store: boltdb-shipper + object_store: filesystem + schema: v11 + index: + prefix: index_ + period: 24h + - from: 2024-04-15 + store: tsdb + object_store: filesystem + schema: v13 + index: + prefix: index_ + period: 24h + storageConfig: + tsdb_shipper: + active_index_directory: /data/tsdb-index + cache_location: /data/tsdb-cache + # compactor: + # working_directory: /data/retention + # compaction_interval: 10m + # retention_enabled: true + # retention_delete_delay: 2h + # retention_delete_worker_count: 150 monitoring: selfMonitoring: grafanaAgent: