Statistics

Every connection manager has a statistics tree rooted at http.. with the following statistics:

NameTypeDescription
downstream_cx_totalCounterTotal connections
downstream_cx_ssl_totalCounterTotal TLS connections
downstream_cx_http1_totalCounterTotal HTTP/1.1 connections
downstream_cx_websocket_totalCounterTotal WebSocket connections
downstream_cx_http2_totalCounterTotal HTTP/2 connections
downstream_cx_destroyCounterTotal connections destroyed
downstream_cx_destroy_remoteCounterTotal connections destroyed due to remote close
downstream_cx_destroy_localCounterTotal connections destroyed due to local close
downstream_cx_destroy_active_rqCounterTotal connections destroyed with 1+ active request
downstream_cx_destroy_local_active_rqCounterTotal connections destroyed locally with 1+ active request
downstream_cx_destroy_remote_active_rqCounterTotal connections destroyed remotely with 1+ active request
downstream_cx_activeGaugeTotal active connections
downstream_cx_ssl_activeGaugeTotal active TLS connections
downstream_cx_http1_activeGaugeTotal active HTTP/1.1 connections
downstream_cx_websocket_activeGaugeTotal active WebSocket connections
downstream_cx_http2_activeGaugeTotal active HTTP/2 connections
downstream_cx_protocol_errorCounterTotal protocol errors
downstream_cx_length_msHistogramConnection length milliseconds
downstream_cx_rx_bytes_totalCounterTotal bytes received
downstream_cx_rx_bytes_bufferedGaugeTotal received bytes currently buffered
downstream_cx_tx_bytes_totalCounterTotal bytes sent
downstream_cx_tx_bytes_bufferedGaugeTotal sent bytes currently buffered
downstream_cx_drain_closeCounterTotal connections closed due to draining
downstream_cx_idle_timeoutCounterTotal connections closed due to idle timeout
downstream_flow_control_paused_reading_totalCounterTotal number of times reads were disabled due to flow control
downstream_flow_control_resumed_reading_totalCounterTotal number of times reads were enabled on the connection due to flow control
downstream_rq_totalCounterTotal requests
downstream_rq_http1_totalCounterTotal HTTP/1.1 requests
downstream_rq_http2_totalCounterTotal HTTP/2 requests
downstream_rq_activeGaugeTotal active requests
downstream_rq_response_before_rq_completeCounterTotal responses sent before the request was complete
downstream_rq_rx_resetCounterTotal request resets received
downstream_rq_tx_resetCounterTotal request resets sent
downstream_rq_non_relative_pathCounterTotal requests with a non-relative HTTP path
downstream_rq_too_largeCounterTotal requests resulting in a 413 due to buffering an overly large body.
downstream_rq_2xxCounterTotal 2xx responses
downstream_rq_3xxCounterTotal 3xx responses
downstream_rq_4xxCounterTotal 4xx responses
downstream_rq_5xxCounterTotal 5xx responses
downstream_rq_ws_on_non_ws_routeCounterTotal WebSocket upgrade requests rejected by non WebSocket routes
downstream_rq_timeHistogramRequest time milliseconds
rs_too_largeCounterTotal response errors due to buffering an overly large body.

Per user agent statistics

Additional per user agent statistics are rooted at http..user_agent.. Currently Envoy matches user agent for both iOS (ios) and Android (android) and produces the following statistics:

NameTypeDescription
downstream_cx_totalCounterTotal connections
downstream_cx_destroy_remote_active_rqCounterTotal connections destroyed remotely with 1+ active requests
downstream_rq_totalCounterTotal requests

Per listener statistics

Additional per listener statistics are rooted at listener.

.http.. with the following statistics:

NameTypeDescription
downstream_rq_2xxCounterTotal 2xx responses
downstream_rq_3xxCounterTotal 3xx responses
downstream_rq_4xxCounterTotal 4xx responses
downstream_rq_5xxCounterTotal 5xx responses