What is monitoring?
The best way to understand and react to failures in a production-ready system is to know what is actually happening. For this, we have to monitor our microservices. Microservices are a complicated set of software, from the code that we write to the libraries that we use, and they utilize, directly or indirectly, hardware resources such as memory or CPU.
They usually depend on other systems, even when we try to minimize the coupling on our architecture, from the servers or clouds that they run on, to databases or services they use. Monitoring provides understandable and measurable data that we can use to learn what is happening with our microservice.
It can be from simple data points, such as how much memory our microservice ...
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