Hi Jayesh Patel,
Did you manage to get the exporter to work? I would like to get the metrics from my tomcat server ? Is it possible ? Regards. Le vendredi 24 avril 2020 14:56:42 UTC+2, Jayesh Patel a écrit : > > 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. > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3dd66cad-1931-4aa8-aa8f-591b96108d11%40googlegroups.com.

