Member-only story
Distributed Tracing For Spring Boot 3x App (Web / gRPC) Using Micrometer, OpenTelemetry And Zipkin
Please check preface of my another blog for initial insight on Micrometer Tracing and it’s succession of Spring Cloud Sleuth:
Spring Boot 3x App — Enable Distributed Tracing using Micrometer, OpenTelemetry And Jaeger
This blog will give you a full overview of the minimal configuration required to enable any Spring Boot app with Distributed Tracing capability using the following toolsets:
- Micrometer — For code instrumentation & provide tracing bridge to OpenTelemetry.
- OpenTelemetry — For tools to collect and send telemetry data to the reporter/collector
- Zipkin — For visualizing, monitoring & troubleshooting distributed systems micro-service traces.
First, we will understand the dependencies required for spring boot auto configuration to take place.
NOTE: For Gradle/Maven dependencies, since we are using all spring BOM managed dependencies, so <version> tag is not used, unless you want to override to specific version. Check all the latest of versions managed by Spring BOM.
https://docs.spring.io/spring-boot/docs/current/reference/html/dependency-versions.html