-
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: Capture all StatNames needed in the hystrix filter at construction time. #7046
stats: Capture all StatNames needed in the hystrix filter at construction time. #7046
Conversation
…ymbolTables in codes_speed_test. Signed-off-by: Joshua Marantz <jmarantz@google.com>
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, almost no comments. This is an encouraging PR demonstrating that we can move off string-based stat names!
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
/retest |
🔨 rebuilding |
/retest |
🔨 rebuilding |
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 w/ small nit. Thank you.
/wait
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Description: To avoid taking locks in the hot-path, captures all the tokens needed to compose stat-names in the Hystrix sink when it's constructed. This avoids taking locks in the hot-path.
Also adds both real-symbol-table and fake-symbol-table variants to codes_speed_test.cc. On my machine this gets:
Risk Level: low
Testing: hystrix_test and the speed test
Docs Changes: n/a
Release Notes: n/a