From 63226079b1697b6ccec1081239ca875bdc01f210 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 3 Aug 2024 00:35:08 +0200 Subject: [PATCH] Fix warning for loki --- deploy/flake.lock | 4 ++-- flake.lock | 4 ++-- flakes/flake.lock | 2 +- systems/zoldene/logging.nix | 5 +---- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/deploy/flake.lock b/deploy/flake.lock index c2c6375..2631701 100644 --- a/deploy/flake.lock +++ b/deploy/flake.lock @@ -2783,7 +2783,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-j0OnENErgwj9vDdg8EUu8gBZkVmJ9dMhtdV+7rTkiCQ=", + "narHash": "sha256-R3FAjRFGXXrYqICZrB0jFWVe7Ahqu1s8HSGYucmCfiU=", "path": "../flakes", "type": "path" }, @@ -3974,7 +3974,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-Xq8DqtsC5MIUnFBbK1YYSS+eEgqJTeIC7GgFeMs8dAc=", + "narHash": "sha256-wAhvhb/zq5upukz/cfyN1nRfYTcFby8OJi2yFaZBGIM=", "path": "../systems/zoldene", "type": "path" }, diff --git a/flake.lock b/flake.lock index f3760cc..e8a7a3b 100644 --- a/flake.lock +++ b/flake.lock @@ -2664,7 +2664,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-j0OnENErgwj9vDdg8EUu8gBZkVmJ9dMhtdV+7rTkiCQ=", + "narHash": "sha256-R3FAjRFGXXrYqICZrB0jFWVe7Ahqu1s8HSGYucmCfiU=", "path": "./flakes", "type": "path" }, @@ -3990,7 +3990,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-Xq8DqtsC5MIUnFBbK1YYSS+eEgqJTeIC7GgFeMs8dAc=", + "narHash": "sha256-wAhvhb/zq5upukz/cfyN1nRfYTcFby8OJi2yFaZBGIM=", "path": "../systems/zoldene", "type": "path" }, diff --git a/flakes/flake.lock b/flakes/flake.lock index d9fc055..802849b 100644 --- a/flakes/flake.lock +++ b/flakes/flake.lock @@ -3895,7 +3895,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-Xq8DqtsC5MIUnFBbK1YYSS+eEgqJTeIC7GgFeMs8dAc=", + "narHash": "sha256-wAhvhb/zq5upukz/cfyN1nRfYTcFby8OJi2yFaZBGIM=", "path": "../systems/zoldene", "type": "path" }, diff --git a/systems/zoldene/logging.nix b/systems/zoldene/logging.nix index 398465b..943d5f1 100644 --- a/systems/zoldene/logging.nix +++ b/systems/zoldene/logging.nix @@ -102,10 +102,7 @@ in ingestion_burst_size_mb = 200; per_stream_rate_limit = "100MB"; per_stream_rate_limit_burst = "200MB"; - # Need to migrate to v13 schema - # MULTIPLE CONFIG ERRORS FOUND, PLEASE READ CAREFULLY - # CONFIG ERROR: schema v13 is required to store Structured Metadata and use native OTLP ingestion, your schema version is v11. Set `allow_structured_metadata: false` in the `limits_config` section or set the command line argument `-validation.allow-structured-metadata=false` and restart Loki. Then proceed to update to schema v13 or newer before re-enabling this config, search for 'Storage Schema' in the docs for the schema update procedure - # CONFIG ERROR: `tsdb` index type is required to store Structured Metadata and use native OTLP ingestion, your index type is `boltdb-shipper` (defined in the `store` parameter of the schema_config). Set `allow_structured_metadata: false` in the `limits_config` section or set the command line argument `-validation.allow-structured-metadata=false` and restart Loki. Then proceed to update the schema to use index type `tsdb` before re-enabling this config, search for 'Storage Schema' in the docs for the schema update procedure" + # Remove after 2024-07-08 see below allow_structured_metadata = false; }; -- 2.41.0