From 82bbdd17f0fec8b408064a6203a65a25bdabbb73 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 11 Mar 2025 15:05:30 +0100 Subject: [PATCH] full cycle 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 fd33a85..7cb40e8 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -22,7 +22,7 @@ loki.relabel "add_labels" { rule { action = "replace" - source_labels = ["__host__"] + source_labels = ["__hostname__"] target_label = "hostname" } rule {