-
Notifications
You must be signed in to change notification settings - Fork 459
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
Fix Prometheus metrics #773
base: main
Are you sure you want to change the base?
Conversation
cc @zirain |
dup of #716 ? |
Yes, I missed that one. The chore: replace dots in ipv4 addresses with slashes is pretty much the same as the mentioned PR - just a bit more generic regexp and without tests. |
I'd like to close my PR as this one is better. |
Squashed the fixup commit for merging |
hey @rofafor can we split up the fix into 2 PRs, and use this PR for fixing the the |
Signed-off-by: Rolf Ahrenberg <[email protected]>
Signed-off-by: Rolf Ahrenberg <[email protected]>
Done by dropping the first commit. Do you want me to create another PR for the dropped identical-key-value commit or do you track down the actual issue with a proper fix? |
would be great if you can create a GH issue in https://github.com/envoyproxy/gateway/issues for it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks !
Issue
Ratelimit Prometheus metrics are kind of mess with the latest Envoy Gateway. The included patch tries to solve these issues:
Avoid repeating (optional) value if it's identical to key. This simplifies Prometheus labels by removing unnecessary duplication.Ratelimit configuration
Envoy configuration
Envoy Ratelimit logs
Ratelimit /metrics in current master
Ratelimit /metrics with this patch