From fd270b9aee718534996167da42f9d5388adbfae7 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 20 Mar 2025 15:29:37 +0530 Subject: kay/observability/prometheus: drop knot exporter --- os/kay/modules/dns/default.nix | 5 ----- os/kay/modules/observability/prometheus.nix | 3 --- 2 files changed, 8 deletions(-) (limited to 'os/kay') diff --git a/os/kay/modules/dns/default.nix b/os/kay/modules/dns/default.nix index 9e6f94b..ee0437a 100644 --- a/os/kay/modules/dns/default.nix +++ b/os/kay/modules/dns/default.nix @@ -26,11 +26,6 @@ in { group = config.systemd.services.knot.serviceConfig.Group; }; - services.prometheus.exporters.knot = { - enable = true; - listenAddress = "127.0.0.1"; - }; - services.knot = { enable = true; keyFiles = [ config.sops.secrets.dns.path ]; diff --git a/os/kay/modules/observability/prometheus.nix b/os/kay/modules/observability/prometheus.nix index f3475eb..d9b6071 100644 --- a/os/kay/modules/observability/prometheus.nix +++ b/os/kay/modules/observability/prometheus.nix @@ -11,9 +11,6 @@ { targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" ]; } - { - targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.knot.port}" ]; - } { targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.wireguard.port}" ]; } -- cgit v1.2.3