-
Notifications
You must be signed in to change notification settings - Fork 608
feat: global ratelimit shadow mode #7630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: kkk777-7 <[email protected]>
Signed-off-by: kkk777-7 <[email protected]>
Signed-off-by: kkk777-7 <[email protected]>
Signed-off-by: kkk777-7 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7630 +/- ##
==========================================
+ Coverage 72.36% 72.37% +0.01%
==========================================
Files 233 233
Lines 34343 34352 +9
==========================================
+ Hits 24851 24862 +11
+ Misses 7712 7710 -2
Partials 1780 1780 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: kkk777-7 <[email protected]>
|
@zirain @zhaohuabing |
|
/retest |
|
hey @kkk777-7 the API looks good ( per rule shadowing), can you confirm a few things, what do the various metrics looks like when this is set
|
Signed-off-by: kkk777-7 <[email protected]>
Signed-off-by: kkk777-7 <[email protected]>
|
Hi @arkodg, Please let me know if there's anything else I should check. The results of sending 6 requests are as follows (limit: 3 per hour) ratelimit service metricsratelimit filter metricscomfirmed only |
|
/retest |
Yes, that’s my understanding at the moment. https://github.com/envoyproxy/envoy/blob/main/source/extensions/filters/common/ratelimit/ratelimit_impl.cc |
What this PR does / why we need it:
Support global ratelimit shadow mode.
Which issue(s) this PR fixes:
Fixes #6786 (need follow-up pr)
Release Notes: Yes