diff options
author | sefidel <contact@sefidel.net> | 2024-06-15 11:55:26 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-06-15 12:04:26 +0900 |
commit | 0a359597aa9ed5ea074fd381f1eb784e594efa81 (patch) | |
tree | e02f2432408f82d701c980f0065f567f1938c735 | |
parent | 6abbff704baa8f87625db730fbd45a169936d527 (diff) | |
download | infra-0a359597aa9ed5ea074fd381f1eb784e594efa81.tar.gz infra-0a359597aa9ed5ea074fd381f1eb784e594efa81.zip |
feat(modules/metrics): enable WAL logging on loki
-rw-r--r-- | modules/services/metrics.nix | 4 |
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 = [ |