From 7f5f21dc8a796ce836f01120df20f4ddf43ab142 Mon Sep 17 00:00:00 2001 From: daragh Date: Tue, 21 May 2024 07:34:28 +0100 Subject: [PATCH] Use port from cfg --- applications/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/prometheus.nix b/applications/prometheus.nix index c673600..9ae7df8 100644 --- a/applications/prometheus.nix +++ b/applications/prometheus.nix @@ -56,7 +56,7 @@ in { job_name = "node_exporter"; static_configs = [ { - targets = map (server: "${server}.skynet.ie:9002") cfg.servers; + targets = map (server: "${server}.skynet.ie:{collecter_port}") cfg.servers; } ]; }