about summary refs log tree commit diff
path: root/nix/hosts/corrino/www
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-09-29 00:03:07 +0200
committerEmile <git@emile.space>2024-09-29 00:03:07 +0200
commit04e789ceee661a263d20c727aa785def6e66f67f (patch)
treeed3264a1ba5df7bdd4f366c21aaa8bd503b0544f /nix/hosts/corrino/www
parent84bd5a91b1f4c773e93b697487a9a18115b80a3c (diff)
(loki) handle hold samples
Diffstat (limited to 'nix/hosts/corrino/www')
-rw-r--r--nix/hosts/corrino/www/loki.emile.space.nix9
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 = {