From c4654a92592ea7c5a25c027cebb4b936cd194060 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 11 Mar 2025 12:01:02 +0100 Subject: [PATCH] add hostname label --- templates/config.alloy.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/config.alloy.erb b/templates/config.alloy.erb index c0da51f..85f4b20 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -36,7 +36,7 @@ loki.relabel "add_labels" { rule { action = "replace" target_label = "hostname" - replacement = "fqdn" + replacement = "$HOSTNAME" } rule { action = "replace"