From 76907580328ec6815a724fbdc79f0c8bb6fd8894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 16 Sep 2024 15:30:22 +0300 Subject: [PATCH] ping exporter: remove `127.0.0.1` --- hosts/fwminex/configuration.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 3e80ecc..bff22ca 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -362,11 +362,7 @@ in replacement = "${hostname}:${port}"; target_label = "instance"; }) hosts; - static_configs = [ - { - targets = [ "127.0.0.1:${port}" ] ++ map (host: "${myData.hosts.${host}.jakstIP}:${port}") hosts; - } - ]; + static_configs = [ { targets = map (host: "${myData.hosts.${host}.jakstIP}:${port}") hosts; } ]; } ) {