Skip to Content
Modern API Development with Spring 6 and Spring Boot 3 - Second Edition
book

Modern API Development with Spring 6 and Spring Boot 3 - Second Edition

by Sourabh Sharma
September 2023
Intermediate to advanced
494 pages
11h 33m
English
Packt Publishing
Content preview from Modern API Development with Spring 6 and Spring Boot 3 - Second Edition

12

Adding Logging and Tracing to Services

In this chapter, you will learn about logging and tracing tools. We will use Spring Micrometer, Brave, the Elasticsearch, Logstash, and Kibana (ELK) stack, and Zipkin. ELK and Zipkin will be used to implement the distributed logging and tracing of the request/response of API calls. Spring Micrometer with Actuator will be used to inject 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 the gRPC client), which will then call another service (such as the gRPC server), and link them with a trace identifier. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Full Stack Development with Spring Boot 3 and React - Fourth Edition

Full Stack Development with Spring Boot 3 and React - Fourth Edition

Juha Hinkula

Publisher Resources

ISBN: 9781804613276Supplemental Content