From 5a0d733319a259b2ce833cc995cb75be426f8f8d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Nov 2022 09:15:24 +0100 Subject: ... --- hosts/vidhar/prometheus/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'hosts/vidhar/prometheus') diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index e6de6806..14d6dabf 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix @@ -216,7 +216,7 @@ in { metrics_path = "/probe"; params = { module = ["dns_soa"]; }; static_configs = [ - { targets = ["127.0.0.53:53" "127.0.0.1:53"]; } + { targets = ["127.0.0.1:53"]; } ]; relabel_configs = [ { source_labels = ["__address__"]; @@ -224,11 +224,6 @@ in { } ] ++ relabelHosts ++ [ { source_labels = ["__param_target"]; - target_label = "job"; - regex = "127\.0\.0\.53:53"; - replacement = "systemd-resolved.dns_soa"; - } - { source_labels = ["__param_target"]; target_label = "job"; regex = "127\.0\.0\.1:53"; replacement = "unbound.dns_soa"; -- cgit v1.2.3