From 3b888d375ac8b94b98e26f032fece1782e69d26f Mon Sep 17 00:00:00 2001 From: fi Date: Sun, 2 Nov 2025 21:33:54 +0100 Subject: [PATCH] Add prometheus-pushgateway to metrics-nekomesh --- config/hosts/metrics-nekomesh/configuration.nix | 2 +- config/hosts/metrics-nekomesh/prometheus.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/hosts/metrics-nekomesh/configuration.nix b/config/hosts/metrics-nekomesh/configuration.nix index 0f46c1d..27ec8f0 100644 --- a/config/hosts/metrics-nekomesh/configuration.nix +++ b/config/hosts/metrics-nekomesh/configuration.nix @@ -9,7 +9,7 @@ hostName = "metrics-nekomesh"; firewall = { enable = true; - allowedTCPPorts = [ 80 443 ]; + allowedTCPPorts = [ 80 443 9091 ]; }; }; diff --git a/config/hosts/metrics-nekomesh/prometheus.nix b/config/hosts/metrics-nekomesh/prometheus.nix index 1e139a1..7d52369 100644 --- a/config/hosts/metrics-nekomesh/prometheus.nix +++ b/config/hosts/metrics-nekomesh/prometheus.nix @@ -12,5 +12,9 @@ }]; } ]; + pushgateway = { + enable = true; + web.external-url = "metrics-nekomesh.vs.grzb.de:9091"; + }; }; }