-
Notifications
You must be signed in to change notification settings - Fork 14.6k
MINOR: add the removed topic metrics to zk2kraft #18658
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
Conversation
# Conflicts: # docs/zk2kraft.html
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.
Thank you for the addition, this is very useful! I have just a small comment
Remove the metrics which is monitoring requests waiting in the topic purgatory | ||
</p> | ||
<ul> | ||
<li><code>kafka.server:type=DelayedOperationPurgatory,name=PurgatorySize,delayedOperation=topic</code></li> |
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.
I had a look at the DelayedOperationPurgatory
class and I believe you are actually removing 2 metrics instead of one
metricsGroup.newGauge("PurgatorySize", this::watched, metricsTags);
metricsGroup.newGauge("NumDelayedOperations", this::numDelayed, metricsTags);
Could you add this to the description as well?
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 for your review, addressed it.
Reviewers: Christo Lolov <[email protected]>, Chia-Ping Tsai <[email protected]>
Reviewers: Christo Lolov <[email protected]>, Chia-Ping Tsai <[email protected]>
Reviewers: Christo Lolov <[email protected]>, Chia-Ping Tsai <[email protected]>
Reviewers: Christo Lolov <[email protected]>, Chia-Ping Tsai <[email protected]>
see the discussion: https://github.com/apache/kafka/pull/18574/files/89b1137ba0d0978afe796de2aa5110e7718355a0#r1921713711
Committer Checklist (excluded from commit message)