Summary
In this chapter, we first explored the concept of monitoring in general, and examined why it is essential to have a monitoring system. Then, we introduced infrastructure monitoring and APM as the two main categories of monitoring. We also discussed alerting and tools within the monitoring context.
We then continued with monitoring in Kubernetes. We demonstrated the most common monitoring tools available in Kubernetes. We started with Prometheus, which is used to collect metrics from the infrastructure and application. We continued with Alertmanager as a component of Prometheus, which is responsible for sending alert notifications to many supported receivers, such as Slack and email clients. Next, we discussed Grafana as the tool used to visualize metrics through graphs and dashboards. We then installed Prometheus and Grafana and also installed our first dashboard to check the status of the Kubernetes cluster. With all of these topics, we explored how to create a capable...