The runner and orchestrator serve Prometheus metrics at /metrics on the health port.
What's wrong with this entry?
The health listener (--health-port, default 8080, 0 disables) now serves Prometheus metrics at /metrics alongside /healthz. The runner exports claude_code_self_hosted_runner_: capacity, active and initializing sessions, per-platform session counts, init duration, poll errors and per-session idle time. The orchestrator exports claude_code_self_hosted_orchestrator_: queue depth, spawn-hook outcomes, spawn-hook and queue-wait histograms, clock skew and connector state.
- Poll-error series are pre-seeded for all five kinds (transport, timeout, 5xx, 429, 4xx) so
rate()queries work from the moment the process starts rather than from the first error. - Whether the listener bound successfully is reported through telemetry named
self_hosted_healthz_listen.
text/plain; version=0.0.4; charset=utf-8
Strings lifted out of the shipped bundle, so the claim above can be checked against them.