Rate limit descriptor expression

This extension may be referenced by the qualified name envoy.rate_limit_descriptors.expr

Note

This extension has an unknown security posture and should only be used in deployments where both the downstream and upstream are trusted.

Tip

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

extensions.rate_limit_descriptors.expr.v3.Descriptor

[extensions.rate_limit_descriptors.expr.v3.Descriptor proto]

The following descriptor entry is appended with a value computed from a symbolic Common Expression Language expression. See attributes for the set of available attributes.

("<descriptor_key>", "<expression_value>")
{
  "descriptor_key": "...",
  "skip_if_error": "...",
  "text": "...",
  "parsed": "{...}"
}
descriptor_key

(string, REQUIRED) The key to use in the descriptor entry.

skip_if_error

(bool) If set to true, Envoy skips the descriptor if the expression evaluates to an error. By default, the rate limit is not applied when an expression produces an error.

text

(string) Expression in a text form, e.g. “connection.requested_server_name”.

Only one of text, parsed may be set.

parsed

(.google.api.expr.v1alpha1.Expr) Parsed expression in AST form.

Only one of text, parsed may be set.