about summary refs log tree commit diff
path: root/nix/hosts/corrino/www/loki.emile.space.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts/corrino/www/loki.emile.space.nix')
-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 = {