Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
bb47ab3
build(deps): bump google.golang.org/grpc from v1.74.2 to v1.80.0 (#1111)
jpereiramp Apr 17, 2026
7590834
Send user defined metadata to the client (#1112)
yanavlasov Apr 19, 2026
6863e37
Dockerfile: add ENTRYPOINT (#1095)
isker Apr 19, 2026
b570b7b
Fix Prometheus response time units (#1104)
evevseev Apr 19, 2026
5eac258
feat: add zipkin b3 header propagation (#1110)
isker Apr 19, 2026
1487aa9
Update third party libraries flagged for vulnerability scans (#1124)
bloomenergyguy Apr 30, 2026
f321ae2
build: pin golang:1.26.2 to multi-arch index digest (#1131)
harrisonharris-di May 7, 2026
194b26b
Add integration test for quota based service selection. (#1114)
yanavlasov May 15, 2026
dfeeb0d
feat: add retry in init phase instead of panic directly (#1144)
zirain May 27, 2026
075a460
Add quota mode to rate limit descriptor proto (#1148)
aabchoo May 31, 2026
2dae96f
Update to golang 1.26.3 (#1152)
bloomenergyguy Jun 2, 2026
d981712
fix: correct typos in memcache error messages and variable name (#1150)
immanuwell Jun 5, 2026
b865a32
feat: bound cluster pipeline parallelism (#1149)
hltduong Jun 5, 2026
e477932
Update to golang-1.26.4 and update golang.org/x/net to 0.55.0 (#1154)
bloomenergyguy Jun 5, 2026
220e676
Add design spec for RequestHeadersToAdd feature
yusofg2 Jun 5, 2026
dea6a7c
Add implementation plan for RequestHeadersToAdd feature
yusofg2 Jun 5, 2026
c12e806
feat: add RequestHeaders settings fields
yusofg2 Jun 5, 2026
595c149
chore: clarify request header settings comments
yusofg2 Jun 5, 2026
4e822d6
feat: wire request headers settings into service struct
yusofg2 Jun 5, 2026
45d576e
fix: reset requestHeadersEnabled to false on config reload when disabled
yusofg2 Jun 6, 2026
fd41d21
feat: populate RequestHeadersToAdd in shouldRateLimitWorker
yusofg2 Jun 6, 2026
dc18f42
test: add RequestHeadersToAdd test cases
yusofg2 Jun 6, 2026
8e557a5
fix: reset customHeadersEnabled to false on config reload when disabled
yusofg2 Jun 6, 2026
79f8107
docs: add RequestHeadersToAdd documentation to README
yusofg2 Jun 6, 2026
aa9fe01
refactor: extract helper methods for RequestHeadersToAdd values
yusofg2 Jun 8, 2026
9be189f
fix: use PWD for all volume paths in integration test compose
yusofg2 Jun 8, 2026
e877b70
test: add request header logging to mock and enable feature in integr…
yusofg2 Jun 9, 2026
54e9ae0
fix: address PR review comments
yusofg2 Jun 11, 2026
619b2d3
Merge branch 'main' into main
yusofg2 Jun 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,15 @@ The following environment variables control the custom response feature:
1. `LIMIT_REMAINING_HEADER` - The default value is "RateLimit-Remaining", setting the environment variable will specify an alternative header name
1. `LIMIT_RESET_HEADER` - The default value is "RateLimit-Reset", setting the environment variable will specify an alternative header name

## RequestHeadersToAdd

The following environment variables control the custom request header feature. When enabled, Envoy injects these headers into the forwarded request before it reaches the upstream service, allowing upstream services to inspect rate limit state and make per-request routing decisions (e.g. skip a hot path when quota is exhausted) without the request being blocked.

1. `LIMIT_REQUEST_HEADERS_ENABLED` - Enables the custom request headers
1. `LIMIT_REQUEST_LIMIT_HEADER` - The default value is "RateLimit-Limit", setting the environment variable will specify an alternative header name
1. `LIMIT_REQUEST_REMAINING_HEADER` - The default value is "RateLimit-Remaining", setting the environment variable will specify an alternative header name
1. `LIMIT_REQUEST_RESET_HEADER` - The default value is "RateLimit-Reset", setting the environment variable will specify an alternative header name

# Tracing

Ratelimit service supports exporting spans in OLTP format. See [OpenTelemetry](https://opentelemetry.io/) for more information.
Expand Down
Loading