conduktor.io ↗

KIP-544 — Make metrics exposed via JMX configurable

Accepted Kafka 2.6 Metrics

Introduces two new configurations, `metrics.include` (whitelist regex) and `metrics.exclude` (blacklist regex), applied to JMX MBean names to limit which metrics are registered in JMX. On large clusters with many partitions, Kafka registers tens of thousands of MBeans, causing monitoring agents that enumerate JMX metrics via RMI to time out.

Details

AuthorXavier Léauté
StatusAccepted
Kafka Version2.6
JIRAKAFKA-9106
WikiView on Apache Wiki
Created2019-10-22
Last Modified2020-03-31
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.