From a9d04ed286adec5db02558e71077b2e95bcf3ef0 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 4 Mar 2023 04:08:46 +0100 Subject: [PATCH] Let nodes access their own prometheus metrics --- misc/metrics-exporters.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/metrics-exporters.nix b/misc/metrics-exporters.nix index 10195b6d..3441f1ff 100644 --- a/misc/metrics-exporters.nix +++ b/misc/metrics-exporters.nix @@ -10,6 +10,8 @@ systemd.services.prometheus-node-exporter.serviceConfig = { IPAddressDeny = "any"; IPAddressAllow = [ + "127.0.0.1" + "::1" values.hosts.ildkule.ipv4 values.hosts.ildkule.ipv6 ];