Open shaojun opened 1 year ago
You aren't running a JMX exporter container that actual runs the http server you're looking for
More specifically, if you're trying to use Prometheus, you need to download its JMX exporter JAR and set that up.
That's not an issue related to this container (which no longer exists in Dockerhub, btw), age and don't need build: .
to get JMX working
I want monitoring kafka running status (via
promethues
andgrafana
, basically follow: https://ibm-cloud-architecture.github.io/refarch-eda/technology/kafka-monitoring/), this is mydocker-compose.yml
to enable theJMX
in kafka:this is the running log:
this is the
docker ps
:I can telnet through with
telnet replace.internet.ip.address 11991
from my Windows PC, but I tried open the urlhttp://replace.internet.ip.address:11991/metrics
and it always failed with 502, does this mean the JMX didn't get enabled?