KIP-606 — Add Metadata Context to MetricsReporter
Accepted Kafka 2.6 MetricsClient
Adds a `ClientInformation` object to the `MetricsContext` passed to `MetricsReporter` plugins, exposing metadata about whether the reporting component is a broker, Connect worker, or client library (producer/consumer/admin/streams). Without this context, metric reporters could not determine which component was emitting metrics, making it impossible to route or label metrics correctly in multi-component deployments.
Details
| Author | Xavier Léauté |
| Status | Accepted |
| Kafka Version | 2.6 |
| JIRA | KAFKA-9960 |
| Wiki | View on Apache Wiki |
| Created | 2020-05-01 |
| Last Modified | 2020-05-26 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.