Skip to content

MINOR: add the removed topic metrics to zk2kraft#18658

Merged
chia7712 merged 3 commits intoapache:trunkfrom
m1a2st:MINOR-METRICS
Jan 23, 2025
Merged

MINOR: add the removed topic metrics to zk2kraft#18658
chia7712 merged 3 commits intoapache:trunkfrom
m1a2st:MINOR-METRICS

Conversation

@m1a2st
Copy link
Copy Markdown
Collaborator

@m1a2st m1a2st commented Jan 21, 2025

see the discussion: https://github.com/apache/kafka/pull/18574/files/89b1137ba0d0978afe796de2aa5110e7718355a0#r1921713711

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions Bot added triage PRs from the community docs small Small PRs labels Jan 21, 2025
@m1a2st m1a2st changed the title MINOR: document the remove metrics in zk2kraft MINOR: document the removed topic metrics in zk2kraft Jan 21, 2025
@m1a2st m1a2st changed the title MINOR: document the removed topic metrics in zk2kraft MINOR: add the removed topic metrics to zk2kraft Jan 21, 2025
# Conflicts:
#	docs/zk2kraft.html
Copy link
Copy Markdown
Contributor

@clolov clolov left a 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

Comment thread docs/zk2kraft.html
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>
Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Collaborator Author

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.

@github-actions github-actions Bot removed the triage PRs from the community label Jan 23, 2025
@chia7712 chia7712 merged commit 3276759 into apache:trunk Jan 23, 2025
chia7712 pushed a commit to chia7712/kafka that referenced this pull request Jan 23, 2025
Reviewers: Christo Lolov <lolovc@amazon.com>, Chia-Ping Tsai <chia7712@gmail.com>
pranavt84 pushed a commit to pranavt84/kafka that referenced this pull request Jan 27, 2025
Reviewers: Christo Lolov <lolovc@amazon.com>, Chia-Ping Tsai <chia7712@gmail.com>
airlock-confluentinc Bot pushed a commit to confluentinc/kafka that referenced this pull request Jan 27, 2025
Reviewers: Christo Lolov <lolovc@amazon.com>, Chia-Ping Tsai <chia7712@gmail.com>
manoj-mathivanan pushed a commit to manoj-mathivanan/kafka that referenced this pull request Feb 19, 2025
Reviewers: Christo Lolov <lolovc@amazon.com>, Chia-Ping Tsai <chia7712@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants