here my config with jboss, work like a charm :D
vim /opt/jboss-eap-7.1/bin/standalone.conf JAVA_OPTS="
-javaagent:/path/opentelemetry-javaagent.jar -Dotel.metrics.exporter=none -Dotel.exporter.otlp.endpoint=http://signoz_IP:4317 -Dotel.resource.attributes="service.name=YourApp""
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.