Skip to main content

Module work_handler_perf

Module work_handler_perf 

Source
Expand description

Transport breakdown metrics for work handler (backend side). Captures network transit (T2-T1) and backend processing time (T3-T2).

Statics§

WORK_HANDLER_NETWORK_TRANSIT_SECONDS
Network transit: frontend send to backend receive (wall-clock, cross-process).
WORK_HANDLER_TIME_TO_FIRST_RESPONSE_SECONDS
Backend processing: handle_payload entry to first response sent.

Functions§

ensure_work_handler_perf_metrics_registered
Register work handler transport breakdown metrics with the given registry. Idempotent.
ensure_work_handler_perf_metrics_registered_prometheus
Register with a raw Prometheus registry. Idempotent.