@cryptotaxi247 / infra-1 / commits / 9756f0b2

Drop BuilderTypeMissing: it erroneously alerts

In particular if there are machines available but the queue runner has not prioritized a job of that type.

Graham Christensen committed Feb 19, 2022 at 08:36 UTC 9756f0b2a2fceca499a0658177014449bb02f3aa
1 file changed -10
delft/eris.nix
-10
@@ -130,16 +130,6 @@ in {
130 annotations.summary = "{{ $labels.machine }} has {{ $value }} over-age jobs.";
131 annotations.grafana = "https://monitoring.nixos.org/grafana/d/j0hJAY1Wk/in-progress-build-duration-heatmap";
132 }
133 -
134 - {
135 - alert = "BuilderTypeMissing";
136 - expr = ''
137 - hydra_machine_type_runnable > 0 and hydra_machine_type_running == 0 and (hydra_machine_type_last_active_total < time() - (2*86400))
138 - '';
139 - labels.severity = "warning";
140 - annotations.summary = "Runnable jobs for {{ $labels.machineType }}, but no runners to execute.";
141 - annotations.grafana = "https://monitoring.nixos.org/grafana/d/MJw9PcAiz/hydra-jobs?orgId=1&from=now-7d&to=now&refresh=5m&var-machine=All&viewPanel=2";
142 - }
133 ];
134 }
135