From 04e789ceee661a263d20c727aa785def6e66f67f Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 29 Sep 2024 00:03:07 +0200 Subject: (loki) handle hold samples --- nix/hosts/corrino/www/loki.emile.space.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nix/hosts/corrino/www/loki.emile.space.nix') 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 = { -- cgit 1.4.1