View Source StepFlow.Metrics.LiveWorkerInstrumenter (StepFlow v1.9.0)

Prometheus metrics instrumenter for the LIVE worker lifecycle technical signals (MINT-8248).

Exposes bounded-cardinality counters, consumed by the LIVE AMQP consumers, so that dashboards / alerts and RUN diagnostics can track create / delete events and technical anomalies of live workers. Labels are restricted to small fixed sets to keep the cardinality low (point de vigilance MINT-8248).

Summary

Functions

Increment the LIVE worker anomalies counter.

Increment the LIVE worker lifecycle events counter.

Functions

Increment the LIVE worker anomalies counter.

reason is one of ["created_without_job", "no_worker_for_job", "no_live_worker_for_dmq"]. Unknown reasons are ignored to avoid unbounded cardinality.

Link to this function

inc_event(event, status)

View Source

Increment the LIVE worker lifecycle events counter.

event is one of ["create", "delete"] and status one of ["success", "error"]. Unknown combinations are ignored to avoid unbounded cardinality.