Spring Cloud Sleuth with OpenTracing

Viewed 12350

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

2 Answers

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

Related