cmccabe commented on code in PR #16866:
URL: https://github.com/apache/kafka/pull/16866#discussion_r1725672072


##########
metadata/src/main/java/org/apache/kafka/controller/metrics/ControllerMetadataMetrics.java:
##########
@@ -54,6 +56,8 @@ public final class ControllerMetadataMetrics implements 
AutoCloseable {
         "KafkaController", "MetadataErrorCount");
     private static final MetricName ZK_MIGRATION_STATE = getMetricName(
         "KafkaController", "ZkMigrationState");
+    private static final MetricName UNCLEAN_LEADER_ELECTIONS_PER_SEC = 
getMetricName(
+            "ControllerStats", "UncleanLeaderElectionsPerSec");

Review Comment:
   yeah, it's a bit messy. but we want to be compatible.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to