swarm: a failed facts copy counts in the held-deploys gauge
This commit is contained in:
parent
79c1b6d81d
commit
1b6d7f3c99
1 changed files with 136 additions and 18 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue