Learning Spring Boot 4 - Fourth Edition
by Wanderson Xesquevixos, Ranga Rao Karanam, Magnus Larsson, Greg L. Turnquist
13
Observability with Spring Boot 4
In the previous chapters, we explored techniques and architectural styles to build robust, resilient, and scalable Spring Boot applications. However, once these applications are deployed to production, a different challenge emerges: understanding what is happening inside a running system.
A single request may pass through multiple services, access databases, call external APIs, and trigger asynchronous processes. When latency increases or an error occurs, the visible symptom often appears far from the real cause.
The issue may be hidden in a slow database query, an unavailable downstream service, a failed message consumer, or a configuration problem in another component. In these situations, observability becomes ...
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.
Read now
Unlock full access