Summary
In this chapter, we went over the key components of a basic Prometheus stack: Prometheus, Alertmanager, Node Exporter, and Grafana. We looked at Prometheus’s internal components to understand what it does and what it delegates to other services, such as Alertmanager. Finally, we went hands-on and built a Kubernetes cluster and Prometheus stack from the ground up in record time.
Going forward, we’ll build upon this architecture to see how Prometheus scales and how to extend it. But first, we’re going to dive into some of the nitty-gritty of Prometheus by focusing on its data model and query language so that we can get the most out of the data we’re collecting from Prometheus.