Member-only story

Distributed tracing in microservices. Zipkin spring boot setup.

Daniel Zielinski
4 min readFeb 17, 2023

Distributed tracing is a technique used in modern software applications to help developers identify and diagnose performance issues that occur across multiple services or components. When an application consists of multiple services or components that communicate with each other over a network, it can be challenging to trace the flow of a request from one component to another and identify where performance issues are occurring. Distributed tracing provides a way to trace the path of a request across multiple services or components, making it easier to identify and diagnose performance issues.

In this tutorial we will create four small library for distributed tracing with zipkin. Then we will use this library as dependencies in some microservice spring boot application.

  1. Tracing configuration library
  2. Mongodb instrumentation library
  3. RabbitMq instrumentation library
  4. Jdbc instrumentation library
  5. Example use case with spring-boot

1. Tracing configuration library(zipkin-tracing-starter)

  • pom.xml
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>…

--

--

Daniel Zielinski
Daniel Zielinski

No responses yet