KIP-748 — Add Broker Count Metrics
Accepted Kafka 3.1 MetricsKRaft
Introduces two new KRaft controller metrics: `ActiveBrokerCount` (registered, unfenced brokers) and `FencedBrokerCount` (brokers that registered but are fenced). Without these metrics, a broker that is alive but failing to emit metrics or logs is indistinguishable from a broker that never registered, making cluster health assessment unreliable.
Details
| Author | Ryan Dielhenn |
| Status | Accepted |
| Kafka Version | 3.1 |
| JIRA | KAFKA-12882 |
| Wiki | View on Apache Wiki |
| Created | 2021-05-26 |
| Last Modified | 2021-08-26 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.