From 9338783490ea45e07217fde326ec03a06e47bbe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 19 Jan 2022 18:52:59 +0100 Subject: [PATCH] scrape node_exporter for desktop --- config/services/prometheus.nix | 9 +++++---- config/services/sway.nix | 5 ----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/config/services/prometheus.nix b/config/services/prometheus.nix index 599906b4..2ebaa2df 100644 --- a/config/services/prometheus.nix +++ b/config/services/prometheus.nix @@ -7,7 +7,8 @@ job_name = "node_exporter"; static_configs = [{ targets = [ - "${config.services.prometheus.exporters.node.listenAddress}:${toString config.services.prometheus.exporters.node.port}" + "[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.prometheus.exporters.node.port}" + "[fd0d:a262:1fa6:e621:47e6:24d4:2acb:9437]:${toString config.services.prometheus.exporters.node.port}" ]; }]; } @@ -15,7 +16,7 @@ job_name = "bind_exporter"; static_configs = [{ targets = [ - "${config.services.prometheus.exporters.bind.listenAddress}:${toString config.services.prometheus.exporters.bind.port}" + "[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.prometheus.exporters.bind.port}" ]; }]; } @@ -23,7 +24,7 @@ job_name = "postgres_exporter"; static_configs = [{ targets = [ - "${config.services.prometheus.exporters.postgres.listenAddress}:${toString config.services.prometheus.exporters.postgres.port}" + "[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.prometheus.exporters.postgres.port}" ]; }]; } @@ -31,7 +32,7 @@ job_name = "gitea_exporter"; static_configs = [{ targets = [ - "${config.services.gitea.httpAddress}:${toString config.services.gitea.httpPort}" + "[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.gitea.httpPort}" ]; }]; } diff --git a/config/services/sway.nix b/config/services/sway.nix index 0173fe34..8c4b9838 100644 --- a/config/services/sway.nix +++ b/config/services/sway.nix @@ -13,11 +13,6 @@ swaylock swayidle xwayland - mako - grim - slurp - wl-clipboard - wf-recorder (python38.withPackages (ps: with ps; [ i3pystatus keyring ])) ]; extraSessionCommands = ''