Using Micrometer Tracing and Zipkin for distributed tracing
To understand what is going on in a distributed system such as a system landscape of cooperating microservices, it is crucial to be able to track and visualize how requests and messages flow between microservices when processing an external call to the system landscape.
Refer to Chapter 1, Introduction to Microservices, in the Distributed tracing section, for more information on this subject.
Starting with Spring Boot 3, distributed tracing is handled by Micrometer Tracing, replacing Spring Cloud Sleuth. Micrometer Tracing can mark requests and messages/events that are part of the same processing flow with a common correlation ID.Micrometer Tracing can also be used to decorate log records with correlation IDs to make it easier to track log records from different microservices that come from the same processing flow. Zipkin is a distributed tracing system (http://zipkin.io) that Micrometer Tracing can send tracing data to for...