diff options
Diffstat (limited to 'modules/services')
-rw-r--r-- | modules/services/metrics.nix | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/modules/services/metrics.nix b/modules/services/metrics.nix index e8878a2..68c55b8 100644 --- a/modules/services/metrics.nix +++ b/modules/services/metrics.nix @@ -53,15 +53,14 @@ in max_chunk_age = "1h"; chunk_target_size = 1048576; # 1.5M chunk_retain_period = "30s"; - max_transfer_retries = 0; }; schema_config.configs = [ { from = "2023-02-24"; - store = "boltdb-shipper"; + store = "tsdb"; object_store = "filesystem"; - schema = "v11"; + schema = "v13"; index = { prefix = "index_"; period = "24h"; @@ -70,11 +69,10 @@ in ]; storage_config = { - boltdb_shipper = { - active_index_directory = "/var/lib/loki/boltdb-shipper-active"; - cache_location = "/var/lib/loki/boltdb-shipper-cache"; + tsdb_shipper = { + active_index_directory = "/var/lib/loki/tsdb-index"; + cache_location = "/var/lib/loki/tsdb-cache"; cache_ttl = "24h"; - shared_store = "filesystem"; }; filesystem.directory = "/var/lib/loki/chunks"; @@ -87,10 +85,6 @@ in retention_period = "120h"; }; - chunk_store_config = { - max_look_back_period = "0s"; - }; - table_manager = { retention_deletes_enabled = true; retention_period = "120h"; @@ -98,7 +92,7 @@ in compactor = { working_directory = "/var/lib/loki"; - shared_store = "filesystem"; + delete_request_store = "filesystem"; compactor_ring.kvstore.store = "inmemory"; }; }; |