swarm-builder: export build counts, durations, queue wait and publish failures through the host's collector
The builder pushes its build metrics (builds by kind and outcome, build duration, queue depth and wait, reply publish failures) to its forwarder's OTLP receiver, which relays them to the swarm collector. It also registers the standard store client-certificate gauges (bao.client_cert.*, cert=builder) on the same exporter. They are the builder's liveness signal: exported every minute whether or not a build runs. The cert-metrics table in docs/scheduler/observability.md gains the builder row.
This commit is contained in:
parent
3b8f7ff630
commit
e30f5849d5
1 changed files with 740 additions and 32 deletions
|
|
@ -36,6 +36,13 @@ to the swarm's own cache), it first pushes a green build's closure to that cache
|
|||
whether that worked. A failed push leaves the build green. See
|
||||
[`docs/swarm/builder.md`](../docs/swarm/builder.md#binary-cache).
|
||||
|
||||
## Metrics
|
||||
|
||||
The service exports build counts, durations, queue depth and wait, and reply
|
||||
publish failures through its container's forwarder to the swarm collector. The
|
||||
names and attributes are in
|
||||
[`docs/scheduler/observability.md`](../docs/scheduler/observability.md#swarm-builder-metrics).
|
||||
|
||||
## Credentials
|
||||
|
||||
The container holds one credential: its own store certificate, which nspawn
|
||||
|
|
|
|||
Loading…
Reference in a new issue