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"; + }; }; }