From 841ee6758d9b5ed802ea14fc8ec17f084066ddfc Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 18 Apr 2023 19:43:05 +0200 Subject: [PATCH] Add additional exporters to Prometheus --- modules/monitoring.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/monitoring.nix b/modules/monitoring.nix index 2b46a41..ded0e42 100644 --- a/modules/monitoring.nix +++ b/modules/monitoring.nix @@ -64,6 +64,20 @@ with pkgs; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" + "localhost:${toString config.services.prometheus.exporters.zfs.port}" + "localhost:${ + toString config.services.prometheus.exporters.wireguard.port + }" + "localhost:${ + toString config.services.prometheus.exporters.postgres.port + }" + "localhost:${ + toString config.services.prometheus.exporters.smartctl.port + }" + "localhost:${ + toString config.services.prometheus.exporters.dnsmasq.port + }" + "localhost:9641" ]; }]; }];