prometheus/jmx_exporter

kafka_2.13-3.7.1 without metrics

qq359130530 opened this issue · 10 comments

``OS: Linux
JDK:1.8.0_341
Kafka:kafka_2.13-3.7.1
jmx_exporter:1.0.1

edit kafka-server-start.sh
image

start Kafka, Kafka Server normal JMX port normal
image

But, metrics not running.
image

Can you provide the output of netstat -an | grep LISTEN | grep -v LISTENING?

The command looks incorrect.

  • Do not place the JMX Exporter Jar in a directory that is in the Kafka classpath
  • Add the JMX Exporter jar to the JVM opts before the classpath -cp definition

Please provide formatted text format in the future. Images are not searchable, etc.