This example runs a single-node Kafka cluster with the JMX exporter running as a Java agent.
The metrics exposed by the JMX exporter are defined in jmx_exporter.yml (taken from the JMX exporter repository).
docker-compose up
The metrics endpoint is available at http://localhost:9098/metrics
.