4. Run kafka and see metrics

Run zookeeper.

bin/zookeeper-server-start.sh config/zookeeper.properties

Run kafka server.

bin/kafka-server-start.sh config/server.properties

Check prometheus metrics.

http://localhost:12345/metrics

Further

Now that I have an endpoint for prometheus. Prometheus can collect this and grafana can visualize it.

Last updated