diff --git a/nix/monitoring/configuration.nix b/nix/monitoring/configuration.nix index b01b986..8423240 100644 --- a/nix/monitoring/configuration.nix +++ b/nix/monitoring/configuration.nix @@ -118,6 +118,16 @@ period = "24h"; }; } + { + from = "2024-05-01"; + store = "tsdb"; + object_store = "filesystem"; + schema = "v13"; + index = { + prefix = "index_"; + period = "24h"; + }; + } ]; }; @@ -127,6 +137,11 @@ cache_location = "/var/lib/loki/boltdb-shipper-cache"; cache_ttl = "24h"; }; + tsdb_shipper = { + active_index_directory = "/var/lib/loki/tsdb-shipper-active"; + cache_location = "/var/lib/loki/tsdb-shipper-cache"; + cache_ttl = "24h"; + }; filesystem = { directory = "/var/lib/loki/chunks";