I'm setting up monitoring for Kafka connect in our Kafka ecosystem. I have enabled JMX exporter for kafka brokers and is working fine. Now I am trying to enable JMX exporter for kafka connect. However, it is a bit unclear where to start.
I can only modify connect-distributed.sh to enable the change. Any pointers would be a great addition.
kafka-run-class.sh was modified to enable jmx_exporter to emit jmx metrics on http://<host>:9304/metrics
I expect kafka-connect to emit metrics on http://<host>:19000/metrics once the jmx_exporter has been enabled.