base/grafana-alloy: fix errors with external_labels field

This commit is contained in:
2025-08-10 13:45:56 -07:00
parent 4146162e52
commit d229055cfe

View File

@@ -31,7 +31,7 @@ in
endpoint {
url = "${alloy_prometheus_endpoint}"
}
external_labels = {host = ${config.networking.hostName}}
external_labels = {host = "${config.networking.hostName}"}
}
// ========== Default Prometheus configuration ==========
@@ -50,7 +50,7 @@ in
endpoint {
url = "${alloy_loki_endpoint}"
}
external_labels = {host = "${config.networking.hostName}}"
external_labels = {host = "${config.networking.hostName}"}
}
local.file_match "local_logfiles" {