From fb764518d342215a51003b8f86ab846c5801a95f Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 11 Mar 2025 13:11:48 +0100 Subject: [PATCH] add hostname label --- templates/config.alloy.erb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/templates/config.alloy.erb b/templates/config.alloy.erb index 6637418..b4c3562 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -31,12 +31,6 @@ loki.process "parse_hostname" { } } } - // Fallback: Set hostname explicitly if not parsed - stage.static_labels { - values = { - hostname_fallback = system.hostname, // e.g., fm002 - } - } } // Refine labels