From b4a000f541e704afb0689d43a2650b98913e1e5e Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 6 Apr 2025 17:21:12 +0200 Subject: tweak(tente): normalize level in Alloy to lowercase --- nixos/hosts/tente/monitoring.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/hosts') diff --git a/nixos/hosts/tente/monitoring.nix b/nixos/hosts/tente/monitoring.nix index 7e92eed..668e1ef 100644 --- a/nixos/hosts/tente/monitoring.nix +++ b/nixos/hosts/tente/monitoring.nix @@ -189,6 +189,11 @@ in source = "time" format = "RFC3339" } + stage.template { + // The slog package of the Go standard library prints levels as uppercase. + source = "level" + template = "{{ ToLower .Value }}" + } stage.structured_metadata { values = { level = "" } } -- cgit v1.2.3