-
Notifications
You must be signed in to change notification settings - Fork 14k
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
MINOR: Refactor process rate and latency metrics on thread-level #8172
Conversation
Call for review: @vvcephei |
Thanks @cadonna , for the cleanup. I initially wrote the tests that way before I knew of the existence of the Can you comment on why we should rename the sensor? I thought it might be a good idea to clearly indicate which sensor is for measuring latency versus counting operations, since there's been massive confusion about this in the past. |
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.
Thanks!
test this please |
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.
Just curious what this PR trying to refactor? the non-testing part seems not making any logical changes.
Retest this, please. |
Looks like the tests never ran the first time. I can't speak to @cadonna's motivation, @guozhangwang . I assume he just felt that my testing approach should have been cleaner, but didn't want to block the original PR. |
@guozhangwang My motivation was to clean-up the tests. I see that the title is a bit misleading. It was mainly a test refactoring. |
Got it, thanks! |
The Java 11 tests had just hung, but I really don't think it could have been due to this change. |
Committer Checklist (excluded from commit message)