Hi, we are setting up client metrics collection for our system according to 
KIP-714
We maintain one centralized metrics collection endpoint for multiple clusters 
and create dashboards to select the cluster of interest by metric label.

For "normal" metrics that we report ourselves we are easily able to attach a 
"cluster=test", "cluster=qa", or "cluster=prod" label to drive this behavior.
For broker metrics, we wrote a MetricsReporter implementation which has an 
opportunity to attach tags from the process environment to the broker metrics.

For consumer, producer, and Streams metrics, this seems to not be possible:
The client configuration does not seem to allow attaching an additional tag.
The broker configuration also does not seem to allow attaching an additional 
tag.
The ClientTelemetry reporter interface only provides you packed byte[] data, 
which is extremely inconvenient to unpack, rewrite, and repack.

Is there an easy way to accomplish this goal that I've missed?
Ideally, we'd like to configure the broker to attach an additional label beyond 
the built-in labels.
Thanks!
Steven

Reply via email to