Typically this happens if you are trying to run the Java agent version as 
the application.

The integration tests have good examples of usage.

Java agent usage:

https://github.com/prometheus/jmx_exporter/tree/release-0.19.0/integration_test_suite/integration_tests/src/test/resources/io/prometheus/jmx/test/MinimalTest/JavaAgent

Standalone usage:

https://github.com/prometheus/jmx_exporter/tree/release-0.19.0/integration_test_suite/integration_tests/src/test/resources/io/prometheus/jmx/test/MinimalTest/Standalone

On Monday, July 10, 2023 at 1:43:02 AM UTC-4 sri L wrote:

> Hi All,
>
> I am trying to install JMX  exporter for monitoring Java processes in 
> linux and getting the  error "no main manifest attribute, in jar"
> Please let us know if I am missing any thing. Thanks in advance
>

-- 
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/2cb12264-2f57-4370-9902-7f320aad4635n%40googlegroups.com.

Reply via email to