Rate limit

Statistics

Every configured rate limit filter has statistics rooted at ratelimit.. with the following statistics:

NameTypeDescription
totalCounterTotal requests to the rate limit service
errorCounterTotal errors contacting the rate limit service
over_limitCounterTotal over limit responses from the rate limit service
okCounterTotal under limit responses from the rate limit service
cx_closedCounterTotal connections closed due to an over limit response from the rate limit service
activeGaugeTotal active requests to the rate limit service

Runtime

The network rate limit filter supports the following runtime settings:

ratelimit.tcp_filter_enabled

% of connections that will call the rate limit service. Defaults to 100.

ratelimit.tcp_filter_enforcing

% of connections that will call the rate limit service and enforce the decision. Defaults to 100. This can be used to test what would happen before fully enforcing the outcome.