Rate limit (proto)

This extension has the qualified name envoy.filters.network.ratelimit


This extension is intended to be robust against untrusted downstream traffic. It assumes that the upstream is trusted.


This extension extends and can be used with the following extension category:

This extension must be configured with one of the following type URLs:

Rate limit configuration overview.


[extensions.filters.network.ratelimit.v3.RateLimit proto]

  "stat_prefix": ...,
  "domain": ...,
  "descriptors": [],
  "timeout": {...},
  "failure_mode_deny": ...,
  "rate_limit_service": {...}

(string, REQUIRED) The prefix to use when emitting statistics.


(string, REQUIRED) The rate limit domain to use in the rate limit service request.


(repeated extensions.common.ratelimit.v3.RateLimitDescriptor, REQUIRED) The rate limit descriptor list to use in the rate limit service request.


(Duration) The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.


(bool) The filter’s behaviour in case the rate limiting service does not respond back. When it is set to true, Envoy will not allow traffic in case of communication failure between rate limiting service and the proxy. Defaults to false.


(config.ratelimit.v3.RateLimitServiceConfig, REQUIRED) Configuration for an external rate limit service provider. If not specified, any calls to the rate limit service will immediately return success.