KIP-96 — Add per partition metrics for in-sync and assigned replica count
Accepted Kafka 1.0 MetricsBroker
Adds two per-partition JMX gauge metrics exposed by the partition leader: `InSyncReplicasCount` and `ReplicasCount` (total assigned replicas), tagged by topic and partition. The existing metrics only provide cluster-wide or broker-wide replica health summaries; operators cannot identify which specific partition has lost ISR members without querying ZooKeeper or using the AdminClient.
Details
| Author | Xavier Léauté |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-4458 |
| Wiki | View on Apache Wiki |
| Created | 2016-11-28 |
| Last Modified | 2016-12-07 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.