MINOR: Clean up streams metric sensors#9696
Conversation
|
Is there any reason to change it to the same logic? |
|
@highluck I am sorry that we change the code you authored, but over time during multiple reviews of this class, we realized that checking the sensor for |
|
Could we give a help method to handle similar code? |
That might be possible for all but client-level sensors. I think that is a good idea. @lct45 could you try to extract a method for all but client-level sensors? |
cadonna
left a comment
There was a problem hiding this comment.
LGTM! Thanks!
Just two minor comments
|
@cadonna |
|
Unrelated test failure of a known flaky test @chia7712 Could you merge this PR? |
|
@lct45 Thanks for your patch. Merge it to trunk! |
Follow-up from #9614, updates streams metrics sensor logic