I just tried it out in a standalone application to be sure and it works for me in version 1.19.0.
Can you make sure that you're indeed using the co.elastic.apm.api.Traced annotation and that the apm-agent-api module is available on the classpath? Does the @CaptureSpan annotation work for you?
As for Wildfly - I do confirm that I use co.elastic.apm.api.Traced. Also tried @CaptureSpan and @CaptureTransaction unfortunately with no luck. Apm-agent-api is part of ear (manual span creation works fine).
Also tried to add a Wildfly's global module (http://docs.wildfly.org/19/Developer_Guide.html#global-modules) that would include apm-agent-api, to be sure that Traced is accessible, still no luck.
Hi there,
good news, or just a news - I made it work by changing package from org.jboss.as.quickstarts to org.jboss.asas.quickstarts. Is there something wrong with 'org.jboss.as' being part of a package name? Is it anyhow protected by WF?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.