From f0851a3df53a635c3b6c20f63814bd3e8c4d7619 Mon Sep 17 00:00:00 2001
From: PoAn Yang 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
- 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