Member-only story
Distributed tracing in microservices. Zipkin spring boot setup.
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.
- Tracing configuration library
- Mongodb instrumentation library
- RabbitMq instrumentation library
- Jdbc instrumentation library
- Example use case with spring-boot
1. Tracing configuration library(zipkin-tracing-starter)
- pom.xml
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>…