From 0a359597aa9ed5ea074fd381f1eb784e594efa81 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 15 Jun 2024 11:55:26 +0900 Subject: feat(modules/metrics): enable WAL logging on loki --- modules/services/metrics.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') 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 = [ -- cgit 1.4.1