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
| Author | Xavier Léauté |
| Status | Accepted |
| Kafka Version | 2.6 |
| JIRA | KAFKA-9106 |
| Wiki | View on Apache Wiki |
| Created | 2019-10-22 |
| Last Modified | 2020-03-31 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.