You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Gérald Quintana <ge...@gmail.com> on 2020/04/30 19:57:06 UTC

Metrics in Kafka Connect

Hello,

We developed a custom Kafka Connect implementation for a specific need, and
we would like to monitor its internals (request latency and rate, pool
usage....).

Is it possible to publish custom metrics using the Kafka client metric
framework (org.apache.kafka.common.metrics.*) . We would like to reuse the
metric reporter defined at worker level and used for other connectors.

Thanks,
Gerald

Re: Metrics in Kafka Connect

Posted by Ryanne Dolan <ry...@gmail.com>.
This is what I did inside MM2's Connectors and Tasks. It works pretty well,
but I'd certainly prefer if Connect exposed it's own Metrics API.

Ryanne

On Thu, Apr 30, 2020 at 2:57 PM Gérald Quintana <ge...@gmail.com>
wrote:

> Hello,
>
> We developed a custom Kafka Connect implementation for a specific need, and
> we would like to monitor its internals (request latency and rate, pool
> usage....).
>
> Is it possible to publish custom metrics using the Kafka client metric
> framework (org.apache.kafka.common.metrics.*) . We would like to reuse the
> metric reporter defined at worker level and used for other connectors.
>
> Thanks,
> Gerald
>