From 52276c72f19f37da6f6630c50983479959da4944 Mon Sep 17 00:00:00 2001 From: Tristan Date: Thu, 7 Mar 2024 11:46:26 +0000 Subject: [PATCH] alpine: prometheus: use hostnames not IPs --- nixos/services/prometheus.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/services/prometheus.nix b/nixos/services/prometheus.nix index 23c10f1..dfc5ade 100644 --- a/nixos/services/prometheus.nix +++ b/nixos/services/prometheus.nix @@ -1,8 +1,9 @@ {config, ...}: let inherit (config.services) prometheus; nodes = [ - "100.65.29.110" - "100.106.241.122" + "alpine" + "fcs-tristan-nixbook" + "zenix" ]; addPort = ip: "${ip}:${toString prometheus.exporters.node.port}"; in {