This section will give an overview of what monitoring actually is and why it is important for delivering a quality production service. We will learn what alerting can do, and how we can use it effectively. Then, we will learn about how we can recover from failures. Finally, we will build a small microservice that will eventually fail, and we will use this to cover more topics in this chapter.
Understanding monitoring
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...