APM Server version:
APM Agent language and version:
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Fresh install or upgraded from other version?
Is there anything special in your setup?
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
I'm not able to use @Traced in my Wildfly 19 app. Ok, not exactly mine - it's a sample app from Wildfly - https://github.com/wildfly/quickstart/tree/master/ejb-in-war just added @Traced here and there (https://github.com/wildfly/quickstart/blob/master/ejb-in-war/src/main/java/org/jboss/as/quickstarts/ejbinwar/ejb/GreeterEJB.java sayHello method, to be exact).
I can see JSF traces in Kibana (splitted into JSF execute and JSF Render phase) which is fine but I don't see sayHello span, that I expected to see.
I'm able to create a span manually in the very same place which works absolutely fine but I would love to use @Traced instead.
Steps to reproduce:
- clone https://github.com/wildfly/quickstart/tree/master/ejb-in-war
- add @Traced annotation to GreeterEJB.sayHello
- mvn package and deploy to WF 19
My WF JAVA_OPTS:
export JAVA_OPTS="$JAVA_OPTS -javaagent:elastic-apm-agent-1.19.0.jar" export JAVA_OPTS="$JAVA_OPTS -Delastic.apm.service_name=my-cool-service" export JAVA_OPTS="$JAVA_OPTS -Delastic.apm.application_packages=org.jboss.as.quickstarts.ejbinwar" export JAVA_OPTS="$JAVA_OPTS -Delastic.apm.server_urls=http://localhost:8200"