@cryptotaxi247 / infra-1 / commits / 66b73b89

rhea: expose the port

Graham Christensen committed Apr 7, 2022 at 20:48 UTC 66b73b898c337ca3265699236714207301cfe2fe
3 files changed +8 -1
delft/ceres.nix
-1
@@ -38,7 +38,6 @@
38 firewall.allowedTCPPorts = [
39 80 443
40 9199 # hydra-notify's prometheus
41 - 9198 # hydra-queue-runner's prometheus
41 ];
42 firewall.allowPing = true;
43 firewall.logRefusedConnections = true;
delft/eris.nix
+7
@@ -132,6 +132,13 @@ in {
132 annotations.summary = "{{ $labels.machine }} has {{ $value }} over-age jobs.";
133 annotations.grafana = "https://monitoring.nixos.org/grafana/d/j0hJAY1Wk/in-progress-build-duration-heatmap";
134 }
135 + {
136 + alert = "HydraQueueRunnerUp";
137 + expr = ''up{job="hydra_queue_runner"} == 0'';
138 + for = "30m";
139 + labels.severity = "warning";
140 + annotations.summary = "hydra-queue-runner's prometheus exporter is not up";
141 + }
142 ];
143 }
144
delft/rhea/default.nix
+1
@@ -23,6 +23,7 @@
23 networking = {
24 firewall.allowedTCPPorts = [
25 80 443
26 + 9198 # hydra-queue-runner's prometheus
27 9199 # hydra-notify's prometheus
28 ];
29 firewall.allowPing = true;