diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-12-15 16:15:07 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-12-15 16:15:07 +0300 |
commit | 81b81fc230cdff7b1f32db630f38eb17f5d659b1 (patch) | |
tree | e9248b581b871d75453307897b81b6a522c9679d /modules/nixos/loki.nix | |
parent | 2023-12-12 (diff) |
2023-12-15
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 = [ |