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 {