Chapter 12: Logging and Tracing

In this chapter, you will explore the logging and monitoring tools, the ELK (Elastic Search, Logstash, Kibana) stack and Zipkin. This tool will then be used to implement the distributed logging and tracing of the request/response of API calls. Spring Sleuth will be used to inject the tracing information into API calls. You will learn how to publish and analyze the logging and tracing of different requests and logs related to responses.

These aggregated logs will help you to troubleshoot web services. You will call one service (such as gRPC client), which will then call another service (such as gRPC server), and link them with a trace identifier. Then, using this trace identifier, you can search the centralized ...

Get Modern API Development with Spring and Spring Boot now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.