From 7368e35d56f18f09b407c450cdbcc3426e4916ea Mon Sep 17 00:00:00 2001 From: ai-dev Date: Sat, 9 Nov 2024 07:25:35 +0100 Subject: [PATCH] update --- loki/rootfs/etc/loki/default-config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/loki/rootfs/etc/loki/default-config.yaml b/loki/rootfs/etc/loki/default-config.yaml index 500f841..6648612 100644 --- a/loki/rootfs/etc/loki/default-config.yaml +++ b/loki/rootfs/etc/loki/default-config.yaml @@ -20,10 +20,10 @@ ingester: schema_config: configs: - - from: 2024-11-09 - store: boltdb-shipper + - from: 2020-11-09 + store: tsdb # Changed to tsdb object_store: filesystem - schema: v11 + schema: v13 # Changed to v13 index: prefix: index_ period: 24h @@ -39,9 +39,10 @@ storage_config: compactor: working_directory: /data/loki/boltdb-shipper-compactor retention_enabled: true + delete_request_store: filesystem # Added this line limits_config: reject_old_samples: true reject_old_samples_max_age: 168h retention_period: ${RETENTION_PERIOD:29d} - max_query_lookback: 0s + allow_structured_metadata: false # Disable Structured Metadata if you're not using v13