[ https://issues.apache.org/jira/browse/KAFKA-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254591#comment-15254591 ]
Flavio Junqueira commented on KAFKA-3128: ----------------------------------------- [~junrao] Perhaps we can do more than just counting the session expiration events and count all events that come through {{SessionExpireListener.handleStateChange}}. For example, it might be useful to know if there are several connection loss events even if they don't lead to session expiration. > Add metrics for ZooKeeper events > -------------------------------- > > Key: KAFKA-3128 > URL: https://issues.apache.org/jira/browse/KAFKA-3128 > Project: Kafka > Issue Type: Improvement > Components: core, zkclient > Reporter: Flavio Junqueira > Assignee: Ismael Juma > Fix For: 0.10.0.0 > > > It would be useful to report via Kafka metrics the number of ZK event > notifications, such as connection loss events, session expiration events, > etc., as a way of spotting potential issues with the communication with the > ZK ensemble. -- This message was sent by Atlassian JIRA (v6.3.4#6332)