diff options
author | Emile <git@emile.space> | 2024-09-29 00:03:07 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-09-29 00:03:07 +0200 |
commit | 04e789ceee661a263d20c727aa785def6e66f67f (patch) | |
tree | ed3264a1ba5df7bdd4f366c21aaa8bd503b0544f | |
parent | 84bd5a91b1f4c773e93b697487a9a18115b80a3c (diff) |
(loki) handle hold samples
-rw-r--r-- | nix/hosts/corrino/www/loki.emile.space.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nix/hosts/corrino/www/loki.emile.space.nix b/nix/hosts/corrino/www/loki.emile.space.nix index 1c1786f..f5fa8d0 100644 --- a/nix/hosts/corrino/www/loki.emile.space.nix +++ b/nix/hosts/corrino/www/loki.emile.space.nix @@ -11,10 +11,17 @@ }; limits_config = { - reject_old_samples = true; + reject_old_samples = false; reject_old_samples_max_age = "7d"; max_global_streams_per_user = 100000; max_streams_per_user = 100000; + + retention_period = "10m"; + }; + + compactor = { + retention_enabled = true; + delete_request_store = "tsdb"; }; common = { |