I have recently migrated the application from Wildfly 10 to Wildfly 24 and now am looking into OpenTracing that comes with the versions 19 and newer. The blog post
https://jbossorg.github.io/wildflysite/news/2020/03/19/Micro_Profile_OpenTracing_Comes_To_WildFly/ shows how to enable JaxRS endpoints tracing and see the output in local Jaeger, that works great for me too.
Unfortunately simple jax-rs endpoints tracing is not enough, I would like to see traces for the beans called from these endpoints, as the opentracing-demo application shows.
The issue is the beans of my interest are mainly located in another module that is not a WAR module, but an EJB residing in the same EAR.
It seems that the TracingDeploymentProcessor expects an EJB developer to provide own implementation of TracingFactory/TracingResolver/Tracer that will be returned by TracerResolver.resolveTracer(), but it is a bit of a hassle to provide that while web modules have such a convenient shortcut.
So the question is whether EJB tracing is expected to work with current OpenTracing integration, and maybe someone may point me to the direction to the correct implementation?
Best regards,
Valerii