Redis proxy

Statistics

Every configured Redis proxy filter has statistics rooted at redis.. with the following statistics:

NameTypeDescription
downstream_cx_activeGaugeTotal active connections
downstream_cx_protocol_errorCounterTotal protocol errors
downstream_cx_rx_bytes_bufferedGaugeTotal received bytes currently buffered
downstream_cx_rx_bytes_totalCounterTotal bytes received
downstream_cx_totalCounterTotal connections
downstream_cx_tx_bytes_bufferedGaugeTotal sent bytes currently buffered
downstream_cx_tx_bytes_totalCounterTotal bytes sent
downstream_cx_drain_closeCounterNumber of connections closed due to draining
downstream_rq_activeGaugeTotal active requests
downstream_rq_totalCounterTotal requests

Splitter statistics

The Redis filter will gather statistics for the command splitter in the redis..splitter. with the following statistics:

NameTypeDescription
invalid_requestCounterNumber of requests with an incorrect number of arguments
unsupported_commandCounterNumber of commands issued which are not recognized by the command splitter

Per command statistics

The Redis filter will gather statistics for commands in the redis..command.. namespace. By default latency stats are in milliseconds and can be changed to microseconds by setting the configuration parameter latency_in_micros to true.

NameTypeDescription
totalCounterNumber of commands
successCounterNumber of commands that were successful
errorCounterNumber of commands that returned a partial or complete error response
latencyHistogramCommand execution time in milliseconds

Runtime

The Redis proxy filter supports the following runtime settings:

redis.drain_close_enabled

% of connections that will be drain closed if the server is draining and would otherwise attempt a drain close. Defaults to 100.