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
|
|
@ -1762,7 +1762,8 @@ in
|
|||
# stay in the grouping so the alert names the holder.
|
||||
# Agents whose deploy the build gate holds back, from the gauge
|
||||
# swarm-controller exports (`held_deploys.rs`): a build that
|
||||
# fails, or that keeps getting no answer from the builder.
|
||||
# fails, or that keeps getting no answer from the builder. A deploy
|
||||
# whose facts copy to its hive fails is held too.
|
||||
# Thirty minutes covers a builder restart and the controller's
|
||||
# ten-minute retries.
|
||||
(metricThresholdRule {
|
||||
|
|
@ -1771,7 +1772,7 @@ in
|
|||
expr = ''sum({__name__="swarm.deploys.held"})'';
|
||||
threshold = 0;
|
||||
for = "30m";
|
||||
summary = "swarm-controller is holding back the deploy of one or more agents because the builder's build of internal/meta fails or gets no answer; the failed `build_meta` node on the Jobs page says which";
|
||||
summary = "swarm-controller is holding back the deploy of one or more agents because the builder's build of internal/meta fails or gets no answer, or the cache facts can't be copied to its hive; the failed `build_meta` or `copy_attic_facts` node on the Jobs page says which";
|
||||
})
|
||||
(metricThresholdRule {
|
||||
uid = "hh-bao-client-cert-lifetime";
|
||||
|
|
|
|||
Loading…
Reference in a new issue