Watch
0
0
Fork
You've already forked hyperhive
0

swarm: a failed facts copy counts in the held-deploys gauge

This commit is contained in:
atlas 2026-11-07 12:28:43 +01:00
commit 1b6d7f3c99

View file

@ -287,7 +287,8 @@ merged PR's (a new agent, the pin fan-out), leave no comment. When the forge
refuses the comment, the controller logs a warning and the node ends as before.
The controller exports the gauge `swarm.deploys.held`: the agents whose latest
build failed, with the label `reason` set to `failed` or `unavailable`. The Grafana
build failed, or whose latest deploy a failed facts copy skipped, with the label
`reason` set to `failed` or `unavailable` (a failed copy is `unavailable`). The Grafana
alert `hh-deploys-held` fires when the sum stays above zero for 30 minutes, so
a dead builder or a config that fails to build shows in Grafana before anyone notices an agent
not updating.