base/grafana-alloy: fix errors with external_labels field
This commit is contained in:
@@ -31,7 +31,7 @@ in
|
|||||||
endpoint {
|
endpoint {
|
||||||
url = "${alloy_prometheus_endpoint}"
|
url = "${alloy_prometheus_endpoint}"
|
||||||
}
|
}
|
||||||
external_labels = {host = ${config.networking.hostName}}
|
external_labels = {host = "${config.networking.hostName}"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ========== Default Prometheus configuration ==========
|
// ========== Default Prometheus configuration ==========
|
||||||
@@ -50,7 +50,7 @@ in
|
|||||||
endpoint {
|
endpoint {
|
||||||
url = "${alloy_loki_endpoint}"
|
url = "${alloy_loki_endpoint}"
|
||||||
}
|
}
|
||||||
external_labels = {host = "${config.networking.hostName}}"
|
external_labels = {host = "${config.networking.hostName}"}
|
||||||
}
|
}
|
||||||
|
|
||||||
local.file_match "local_logfiles" {
|
local.file_match "local_logfiles" {
|
||||||
|
Reference in New Issue
Block a user