aboutsummaryrefslogtreecommitdiff
path: root/systems/zoldene/logging.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/zoldene/logging.nix')
-rw-r--r--systems/zoldene/logging.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/systems/zoldene/logging.nix b/systems/zoldene/logging.nix
index 2b6e331..398465b 100644
--- a/systems/zoldene/logging.nix
+++ b/systems/zoldene/logging.nix
@@ -102,6 +102,11 @@ in
102 ingestion_burst_size_mb = 200; 102 ingestion_burst_size_mb = 200;
103 per_stream_rate_limit = "100MB"; 103 per_stream_rate_limit = "100MB";
104 per_stream_rate_limit_burst = "200MB"; 104 per_stream_rate_limit_burst = "200MB";
105 # Need to migrate to v13 schema
106 # MULTIPLE CONFIG ERRORS FOUND, PLEASE READ CAREFULLY
107 # 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
108 # 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"
109 allow_structured_metadata = false;
105 }; 110 };
106 111
107 schema_config.configs = [ 112 schema_config.configs = [
@@ -113,6 +118,14 @@ in
113 index.prefix = "index_"; 118 index.prefix = "index_";
114 index.period = "24h"; 119 index.period = "24h";
115 } 120 }
121 {
122 from = "2024-07-08";
123 store = "tsdb";
124 object_store = "filesystem";
125 schema = "v13";
126 index.prefix = "index_";
127 index.period = "24h";
128 }
116 ]; 129 ];
117 }; 130 };
118 }; 131 };