Spring Cloud Sleuth with OpenTracing

Javier Sainz picture Javier Sainz · May 24, 2017 · Viewed 9k times · Source

Is there a way to use Spring Cloud Sleuth with OpenTracing? I want to connect Spring clients with Jaeger

Answer

Anoop Hallimala picture Anoop Hallimala · Nov 19, 2018

Spring Sleuth is now OpenTracing compatible. All you have to do is use OpenTracing Jars in your class path.

You can then use Sleuth-Zipkin to send instrumentation data to Jaeger's Zipkin collector.

This way you achieve everything you want with minimal configuration.

You can use my sample program as an example here:

https://github.com/anoophp777/spring-webflux-jaegar-log4j2