-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
EnvoyFilter RateLimit pattern regex not working , need help! #34197
Comments
I think |
Oh, no, I misunderstood, you're aiming to do just the UUID, not to ignore the UUID, so your configuration looks right. |
@mattklein123 as ratelimit primary owner. |
@mattklein123 can help plz ? |
@ravenblackx u think its a bug ? or no support for such a scenario ? |
Not really my area, that's why I tried to ping Matt to look. Maybe @wbpcode might know more, as someone touching rate limit related stuff recently? |
so, what is the current behavior? Seems the configuration is fine. It would be better to log the dynamic metadata or check the stats of rate limit server to find what actually happened. |
Hi
I am trying to configure my Global Rate limit in istio using the EnvoyFilter resource to handle a a dynamic URL requests rate limit, my url contains a dynamic UUID in the path so I tried to use regex_value_rewrite pattern but its not working as expected, I expect to have a request count for each unique UUID, and not apply the rate limit on any other paths just if I have the UUID Regex
Example:
lets say we have limit 50 req/minute
/cloudautomation/v1/solutions//spfi/notify called 2 times --- > count1 is 2 out of 50
/cloudautomation/v1/solutions//spfi/notify called 10 times ---> count2 is 10 out of 50
My Configurations
In the rate limit service config I configured
Please Advice ?
Thanks
The text was updated successfully, but these errors were encountered: