Repository navigation
feat: global ratelimit shadow mode - #7630
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.70% 72.67% -0.04%
==========================================
Files 235 235
Lines 35023 35032 +9
==========================================
- Hits 25463 25458 -5
- Misses 7747 7759 +12
- Partials 1813 1815 +2 ☔ 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 |
|
The metrics in the rate limit service should be sufficient for now. CC @nacx The envoy metric can be improved by introducing an additional |
Signed-off-by: Arko Dasgupta <[email protected]>
* feat: support ratelimit shadow mode Signed-off-by: kkk777-7 <[email protected]> Signed-off-by: Matt Miller <[email protected]>
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