-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
stats: Extract route names with forward-slash #33734
Conversation
Signed-off-by: Kevin Burek <[email protected]>
/wait for CI |
/retest |
/ptal @jmarantz |
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 modulo the usual concern that this might be a breaking change for someone. But I couldn't think of how it would break anything, so I'm approving.
@ggreenway wdyt?
Oh...one thing: can you take a quick look at the docs for route stats and see if they need to be updated? |
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
@kb100 before I merge can you just check to see if we should update doc for this syntax change? |
Oh it looks like the regex needs to be a little more relaxed. Docs say |
Nevermind, I misread it. The |
@jmarantz no doc updates needed 👍 |
Commit Message: Extract route names with forward-slash.
Additional Description: RDS protocol allows almost any route name, and stats are lightly sanitized before emitting to statsd and prometheus endpoints. This change slightly relaxes the capture group for RDS route names in stats, instead of opening the floodgates to everything, because YAGNI.
Risk Level: Low
Testing: Updated unit test
Docs Changes: None
Release Notes: N/A
Platform Specific Features: None
Fixes: #32976