@cryptotaxi247 / infra / commits / 851c2065

hydra: drop metrics endpoint of old queue runner

The old hydra-queue-runner is disabled and its metrics are now served by the new queue runner via queue-runner.hydra.nixos.org, so its 9198 listener no longer exists. Remove the stale hydra.conf setting and stop allowing the port through the firewall.

Jörg Thalheim committed Jun 17, 2026 at 00:04 UTC 851c2065464a14949482185478efb0d9b1180fa1
1 file changed +3 -5
build/hydra.nix
+3 -5
@@ -15,10 +15,10 @@ in
15 inputs.hydra.nixosModules.hydra
16 ];
17
18 - # queue-runner and hydra-notify metrics
18 + # hydra-notify metrics
19 networking.firewall.extraInputRules = ''
20 - ip6 saddr $prometheus_inet6 tcp dport { 9198, 9199 } accept
21 - ip saddr $prometheus_inet4 tcp dport { 9198, 9199 } accept
20 + ip6 saddr $prometheus_inet6 tcp dport 9199 accept
21 + ip saddr $prometheus_inet4 tcp dport 9199 accept
22 '';
23
24 nix = {
@@ -116,8 +116,6 @@ in
116 max_output_size = 4294967295 # 4 GiB - 1 B
117 max_db_connections = 350
118
119 - queue_runner_metrics_address = [::]:9198
120 -
119 <hydra_notify>
120 <prometheus>
121 listen_address = 0.0.0.0