From d229055cfe3f0a0e1c5f2cae6f389810ff65adf4 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sun, 10 Aug 2025 13:45:56 -0700 Subject: [PATCH] base/grafana-alloy: fix errors with external_labels field --- base/grafana-alloy.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/grafana-alloy.nix b/base/grafana-alloy.nix index 8640968..12ece6c 100644 --- a/base/grafana-alloy.nix +++ b/base/grafana-alloy.nix @@ -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" {