MicroProfile OpenTracing automatically traces all inbound JAX-RS endpoints. However, the JAX-RS client side is more tricky and requires the registration API, org.eclipse.microprofile.opentracing.ClientTracingRegistrar.configure(ClientBuilder clientBuilder), to be called to add tracing capability. MicroProfile implementation can enable tracing for all client interfaces globally; however, it is recommended to use the registration API for better portability.
The default tracing behavior can be modified by disabling the tracing of specific requests or changing operation names of produced server spans. For more information, refer to the Configuration properties section later in this chapter. The instrumentation layer automatically adds ...