Hey folks, Thanks for replying. If we could file a JIRA to track this work, that would be great.
Thanks, Justine On Tue, Oct 24, 2023 at 11:55 AM Colin McCabe <cmcc...@apache.org> wrote: > Hi Neil, > > Yes, I think we should probably report the UncleanLeaderElectionsPerSec > metric in KRaft. We don't have it currently. > > We do have the concept of unclean leader election in KRaft, but it has to > be triggered by the leader election tool currently. We've been talking > about adding configuration-based unclean leader election as part of the > KIP-966 work. > > best, > Colin > > > On Wed, Oct 18, 2023, at 10:27, Neil Buesing wrote: > > Development, > > > > with Raft controllers, is the unclean leader election / sec metric supose > > to be available? > > > > kafka.controller:type=ControllerStats,name=UncleanLeaderElectionsPerSec > > > > Nothing in documentation indicates that it isn’t as well as in code > > navigation nothing indicates to me that it wouldn’t show up, but even > added > > unclean leader election to true for both brokers and controllers and > > nothing. > > > > (set this for all controllers and brokers) > > KAFKA_UNCLEAN_LEADER_ELECTION_ENABLE: true > > > > Happy to report a Jira, but wanted to figure out if the bug was in the > > documentation or the metric not being available? > > > > Thanks, > > > > Neil > > > > P.S. I did confirm that others have seen and wondered about this, > > https://github.com/strimzi/strimzi-kafka-operator/issues/8169, but that > is > > about the only other report on this I have found. >