In this chapter, we will learn how to use distributed tracing to better understand how our microservices cooperate; for example, fulfilling a request sent to the external API. Being able to utilize distributed tracing is essential for being able to manage a system landscape of cooperating microservices. As already described in Chapter 8, Introduction to Spring Cloud, in reference to the Spring Cloud Sleuth and Zipkin for distributed tracing section, Spring Cloud Sleuth will be used to collect trace information, and Zipkin will be used for the storage and visualization of said trace information.
In this chapter, we will learn about the following topics:
- Introducing distributed tracing with Spring Cloud Sleuth and Zipkin
- How to add distributed tracing to the source code
- How to perform distributed tracing:
- We will learn how to visualize...