From f771863d97d39b3b8d0d0f49e5c0f159284cdcdd Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 14 Feb 2026 15:48:11 +0100 Subject: [PATCH] Oops, now I know more how Prometheus works. --- nix-system-configs/modules/system/gramethus.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nix-system-configs/modules/system/gramethus.nix b/nix-system-configs/modules/system/gramethus.nix index d44c3cb..ed96a8c 100644 --- a/nix-system-configs/modules/system/gramethus.nix +++ b/nix-system-configs/modules/system/gramethus.nix @@ -79,6 +79,9 @@ in { }; services.prometheus = { + enable = true; + port = 9001; + exporters.node = { enabledCollectors = [ "ethtool" @@ -87,7 +90,7 @@ in { "tcpstat" ]; enable = true; - port = 9001; + port = 9002; }; globalConfig.scrape_interval = "10s"; # "1m" scrapeConfigs = [