...
This page is meant as a template for writing a KIP. To create a KIP choose Tools->Copy on this page and modify with your content and replace the heading with the next KIP number and a description of your issue. Replace anything in italics with your own description.
Status
Current state: "Under Discussion" Accepted
Discussion thread: here
JIRA: KAFKA-5746
...
MBean: kafka.network:type=RequestMetrics,name=RequestSizeRequestBytes,request=<apiKey>
MBean: kafka.network:type=RequestMetrics,name=TemporaryMemorySizeTemporaryMemoryBytes,request=<apiKey>
Authentication success and failure rates
...
- successful-authentication-rate
- failed-authentication-rate
ZooKeeper status and latency
It will be good to monitor latency of ZooKeeper requests so that any issues with ZooKeeper communication can be detected early.
...
MBean: kafka.server:type=ZooKeeperClientMetrics,name=ZooKeeperLatency,name=ZooKeeperRequestLatencyMs
It will also be useful to see the current status of broker's connection to ZooKeeper.
This will be a String Gauge in the existing group SessionExpireListener which currently shows the rate of each state (eg. DisconnectsPerSec)
MBean: kafka.server:type=SessionExpireListener,name=SessionState
State will be one of Disconnected|SyncConnected|AuthFailed|ConnectedReadOnly|SaslAuthenticated|Expired
Client-side metrics
Client versions
...