conduktor.io ↗

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

AuthorXavier Léauté
StatusAccepted
Kafka Version2.6
JIRAKAFKA-9960
WikiView on Apache Wiki
Created2020-05-01
Last Modified2020-05-26
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.