Search code examples
javaspring-bootzipkinbrave

Zipkin for Java application


I have Java application that is sending requests to Spring Boot applications. I have implemented zipkin+sleuth on the Spring Boot applications and get traces. Now I want to implement zipkin on the java application and to collect the traces. How to implement that? I need to use brave?


Solution

  • Yes. You have to use Brave. In fact, Spring cloud sleuth (V2) uses Brave under the hood. Check the brave web-mvc example to get started.

    https://github.com/openzipkin/brave-webmvc-example