This Dockerfile was taken from the official Debezium repository.
Modified original config.yml to collect metrics from kafka-connect itself.
The list of metrics is available in the official kafka-connect and debezium documentation
You can pull image from registries:
ghcr.io/sentoz/debezium-jmx-exporter:2.2.0.Final
quay.io/sentoz/debezium-jmx-exporter:2.2.0.Final
docker.io/sentoz/debezium-jmx-exporter:2.2.0.Final