diff options
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/loki.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/nixos/loki.nix b/modules/nixos/loki.nix index 6794ba9..4b17256 100644 --- a/modules/nixos/loki.nix +++ b/modules/nixos/loki.nix @@ -58,13 +58,17 @@ in { rules_directory = "${common.path_prefix}/rules"; }; replication_factor = 1; - instance_interface_names = ["lo"]; ring = { instance_addr = "127.0.0.1"; kvstore.store = "inmemory"; }; }; + ingester = { + chunk_idle_period = "15m"; + max_chunk_age = "15m"; + }; + compactor = { working_directory = "${common.path_prefix}/compactor"; retention_enabled = true; @@ -85,6 +89,7 @@ in { max_global_streams_per_user = 0; max_query_series = 4096; retention_period = "720h"; + deletion_mode = "filter-and-delete"; }; schema_config.configs = [ |