Skip to content
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: add removed controller metrics to zk2kraft #18654

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

FrankYang0529
Copy link
Member

Followup: #18573 (review)

Add following removed controller metrics to zk2kraft.html.

  • kafka.controller:type=ControllerChannelManager
  • kafka.controller:type=ControllerEventManager
  • kafka.controller:type=KafkaController
  • kafka.controller:type=ControllerStats

Screenshot 2025-01-21 at 8 21 44 PM

Committer Checklist (excluded from commit message)

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

@@ -164,5 +164,16 @@ <h5 class="anchor-heading">Removal metrics</h5>
In Kraft mode, Zookeeper is not used, so the metrics is removed.
</p>
</li>
<li>
<p>
Remove the controller metrics. In Kraft mode, there is no broker which is elected as controller to communicate with ZooKeeper.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description is not accurate. We don't need to explain the all usage of those metrics, since that is not the purpose of this docs. Maybe we can add those metrics to the line#161? WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. I think we should also update description at line#158.

Signed-off-by: PoAn Yang <[email protected]>
</p>
<ul>
<li><code>kafka.server:type=ZooKeeperClientMetrics,name=ZooKeeperRequestLatencyMs</code></li>
<li><code>kafka.controller:type=ControllerChannelManager</code></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we list complete metrics attributes? It would be useful to search specific metrics. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs small Small PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants