@cryptotaxi247 / infra-1 / commits / 1129a643

Capture queue runner metrics

Graham Christensen committed Apr 7, 2022 at 18:29 UTC 1129a643826750d70fd448179a704b6c2f043dbf
2 files changed +13
delft/ceres.nix
+1
@@ -38,6 +38,7 @@
38 firewall.allowedTCPPorts = [
39 80 443
40 9199 # hydra-notify's prometheus
41 + 9198 # hydra-queue-runner's prometheus
42 ];
43 firewall.allowPing = true;
44 firewall.logRefusedConnections = true;
delft/eris.nix
+12
@@ -394,6 +394,18 @@ in {
394 }
395 ];
396 }
397 + {
398 + job_name = "hydra_queue_runner";
399 + metrics_path = "/metrics";
400 + scheme = "http";
401 + static_configs = [
402 + {
403 + targets = [
404 + "hydra.nixos.org:9198"
405 + ];
406 + }
407 + ];
408 + }
409
410 {
411 job_name = "hydra-webserver";