OpenTracing JAX-RS Instrumentation

In the previous demo, we demonstrated how to instrument a Spring Boot app using OpenTracing, a vendor-neutral standard for distributed tracing. In this article, we are going to instrument a Java API for RESTful Web Services (JAX-RS), and show you how to trace the business layer and add custom data to the trace.
Demo Application
Creating a JAX-RS app from scratch can be a time-consuming task, therefore, in this case, we are going to use Wildfly Swarm’s app generator. Select JAX-RS and CDI dependencies and hit the generate button.

Link: https://dzone.com/articles/opentracing-jax-rs-instrumentation?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev