diff --git a/templates/config.alloy.erb b/templates/config.alloy.erb index b4c3562..a8402e5 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -50,12 +50,12 @@ loki.relabel "add_labels" { source_labels = ["hostname"] target_label = "hostname" } - rule { - source_labels = ["hostname_fallback"] - target_label = "hostname" - action = "replace" - replacement = "${__label:hostname_fallback}" // Only if hostname is unset - } + //rule { + // source_labels = ["hostname_fallback"] + // target_label = "hostname" + // action = "replace" + // replacement = "${__label:hostname_fallback}" // Only if hostname is unset + //} } loki.write "loki" {