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 <[email protected]> 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 >
