From f0851a3df53a635c3b6c20f63814bd3e8c4d7619 Mon Sep 17 00:00:00 2001 From: PoAn Yang Date: Tue, 21 Jan 2025 20:22:10 +0800 Subject: [PATCH 1/2] MINOR: add removed controller metrics to zk2kraft Signed-off-by: PoAn Yang --- docs/zk2kraft.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/zk2kraft.html b/docs/zk2kraft.html index 210feee581e02..0b1a11a6c5833 100644 --- a/docs/zk2kraft.html +++ b/docs/zk2kraft.html @@ -164,5 +164,16 @@
Removal metrics
In Kraft mode, Zookeeper is not used, so the metrics is removed.

+
  • +

    + Remove the controller metrics. In Kraft mode, there is no broker which is elected as controller to communicate with ZooKeeper. +

    +
      +
    • kafka.controller:type=ControllerChannelManager
    • +
    • kafka.controller:type=ControllerEventManager
    • +
    • kafka.controller:type=KafkaController
    • +
    • kafka.controller:type=ControllerStats
    • +
    +
  • \ No newline at end of file From d408a10efb891d059c294c3499d679e79a717d9c Mon Sep 17 00:00:00 2001 From: PoAn Yang Date: Tue, 21 Jan 2025 20:41:47 +0800 Subject: [PATCH 2/2] address comment Signed-off-by: PoAn Yang --- docs/zk2kraft.html | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/zk2kraft.html b/docs/zk2kraft.html index 0b1a11a6c5833..58cd311a1c865 100644 --- a/docs/zk2kraft.html +++ b/docs/zk2kraft.html @@ -155,20 +155,10 @@
    Removal metrics
  • - Remove the metrics which is monitoring the latency in milliseconds for ZooKeeper requests from broker. + Remove the metrics which are only used in ZooKeeper mode.

    • kafka.server:type=ZooKeeperClientMetrics,name=ZooKeeperRequestLatencyMs
    • -
    -

    - In Kraft mode, Zookeeper is not used, so the metrics is removed. -

    -
  • -
  • -

    - Remove the controller metrics. In Kraft mode, there is no broker which is elected as controller to communicate with ZooKeeper. -

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