about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/services/metrics.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/services/metrics.nix b/modules/services/metrics.nix
index 68c55b8..764b65f 100644
--- a/modules/services/metrics.nix
+++ b/modules/services/metrics.nix
@@ -53,6 +53,10 @@ in
           max_chunk_age = "1h";
           chunk_target_size = 1048576; # 1.5M
           chunk_retain_period = "30s";
+          wal = {
+            enabled = true;
+            dir = "/tmp/loki-wal";
+          };
         };
 
         schema_config.configs = [