Skip to content

feat: support unit_multiplier in rate limit descriptor - #1281

Open
rudrakhp wants to merge 1 commit into
envoyproxy:mainfrom
rudrakhp:rls_unit_multiplier
Open

rudrakhp wants to merge 1 commit into
envoyproxy:mainfrom
rudrakhp:rls_unit_multiplier

Conversation

@rudrakhp

@rudrakhp rudrakhp commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Support unit_multiplier in rate limit descriptors for rate limit service. Added tests and README as well.
Related envoyproxy/envoy#47307
Fixes envoyproxy/envoy#33277

Comment thread README.md
`RateLimit-Remaining-Minutes`). This can be enabled together with
`LIMIT_RESPONSE_HEADERS_ENABLED`, which continues to add its three standard
headers for the descriptor closest to its limit.
`RateLimit-Limit-<Multiplier>-<Unit>` and `RateLimit-Remaining-<Multiplier>-<Unit>` headers for the

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went with adding a <Multiplier>- prefix in the existing response headers instead of adding a dedicated header for the unit multiplier as it made more sense for someone consuming them.

@rudrakhp
rudrakhp force-pushed the rls_unit_multiplier branch from 354ca46 to 27a9b26 Compare October 20, 2026 08:07
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
@rudrakhp
rudrakhp force-pushed the rls_unit_multiplier branch from 27a9b26 to 5166313 Compare October 20, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multiples of units for rate limits

1 participant