diff --git a/hosts/monitoring/prometheus.nix b/hosts/monitoring/prometheus.nix index e27444e..34b9ea2 100644 --- a/hosts/monitoring/prometheus.nix +++ b/hosts/monitoring/prometheus.nix @@ -62,7 +62,7 @@ cluster = [ "1" ]; node = [ "1" ]; }; - relabel_configs = { + relabel_configs = [ { source_labels = [ "__address__" ]; target_label = "__param_target"; @@ -75,7 +75,7 @@ target_label = "__address__"; replacement = "[::1]:${toString config.services.prometheus.exporters.pve.port}"; } - }; + ]; } ]; ruleFiles = [