Appendix D. Observability in a microservices deployment
In chapter 5, we discuss in detail how to monitor a microservices deployment with Prometheus and Grafana. The modern term for monitoring and analytics is observability. In this appendix, we discuss why observability is so critical in a microservices deployment as compared to monolithic applications.
D.1 The need for observability
Compared to a traditional monolithic application, microservices-backed applications are heavily distributed. In a traditional monolithic application, when function foo
calls function bar
, the chances of the function invocation failing because of external factors are rare. This is because in a monolithic application, both functions reside on the same process. If ...
Get Microservices Security in Action 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.