Skip to main content

Module work_handler

Module work_handler 

Source
Expand description

Work handler Prometheus metric names

Modules§

error_types
Error type values for work handler metrics

Constants§

CANCELLATION_TOTAL
Total number of requests cancelled by work handler (client stop/kill or disconnect)
ERRORS_TOTAL
Total number of errors in work handler processing
ERROR_TYPE_LABEL
Label name for error type classification
INFLIGHT_REQUESTS
Number of requests currently being processed by work handler Note: This is a gauge metric (current state) that can go up and down, so no _total suffix
NETWORK_TRANSIT_SECONDS
Network transit: frontend send to backend receive (wall-clock, cross-process)
REQUESTS_TOTAL
Total number of requests processed by work handler
REQUEST_BYTES_TOTAL
Total number of bytes received in requests by work handler
REQUEST_DURATION_SECONDS
Time spent processing requests by work handler (histogram)
RESPONSE_BYTES_TOTAL
Total number of bytes sent in responses by work handler
TIME_TO_FIRST_RESPONSE_SECONDS
Backend processing: handle_payload entry to first response sent