envoyproxy / envoyproxy/gateway

Extend BackendTrafficPolicy Rate Limiting to Support Custom Time Intervals

Open
#6,486 2 comments 1 reaction 0 assignees View on GitHub
stale triage
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

*Description*:
Currently, BackendTrafficPolicy rate limiting only supports predefined time units (Second, Minute, Hour, Day). This limitation forces users to work around scenarios where custom intervals (e.g., 30 seconds, 5 minutes) are required for precise rate limiting control.

*Current Limitation*
```yaml
# ❌ Currently NOT supported
rateLimit:
type: Global
global:
rules:
- limit:
requests: 1500
unit: Second
interval: 30 # Custom interval not supported
```

[optional *Relevant Links*:]
>Any extra documentation required to understand the issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.