Hello guys,
I want to setup JMX exporter in my linux system and I am following https://github.com/prometheus/jmx_exporter.
I have download the jmx_prometheus_javaagent-0.12.0.jar also version 0.11.0 and also created config.yml file in my linux system.
Java 1.8 is installed in my linux system.
I was trying to setup jmx_exporter as agent using below command.
java -javaagent:./jmx_prometheus_javaagent-0.12.0.jar=8080:config.yml -jar jmx_prometheus_javaagent-0.12.0.jar
But it gives the error.
no main manifest attribute, in jmx_prometheus_javaagent-0.12.0.jar
what is the problem for this and how can I fix this ?
Thanks.
java -javaagent:./jmx_prometheus_javaagent-0.12.0.jar=8080:config.yaml -jar yourJar.jarDid you manage to get the exporter to work?
I would like to get the metrics from my tomcat server ? Is it possible ?
Regards.