From cc55254889fae65915c9760ae78bc70c84c2b43f Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Sun, 16 Jun 2024 12:09:34 +0200 Subject: [PATCH] Add wg exporter to scrape_config --- hosts/x86_64-linux/beleth/monitoring.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/x86_64-linux/beleth/monitoring.nix b/hosts/x86_64-linux/beleth/monitoring.nix index fef1e67..bd23009 100644 --- a/hosts/x86_64-linux/beleth/monitoring.nix +++ b/hosts/x86_64-linux/beleth/monitoring.nix @@ -29,7 +29,10 @@ job_name = "beleth"; static_configs = [ { - targets = ["127.0.0.1:${toString config.services.prometheus.exporters.node.port}"]; + targets = [ + "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" + "127.0.0.1:${toString config.services.prometheus.exporters.wireguard.port}" + ]; } ]; }