[ https://issues.apache.org/jira/browse/KAFKA-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15264445#comment-15264445 ]
Jun Rao commented on KAFKA-3128: -------------------------------- [~fpj], yes, it's a good idea to track both session expirations and connection losses. Anything else worth tracking? [~ijuma], I recommend that we continue using kafka.metrics.KafkaMetricsGroup on the broker side for now until when we want to migrate all metrics to org.apache.kafka.common.metrics.Metrics. > 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)