Monitoring with Metrics Using Grafana Mimir and Prometheus
This chapter will introduce the Prometheus query language (PromQL). Like LogQL, PromQL can be used to select and filter metrics streams and process numeric data with operators and functions, enabling you to build quick and efficient queries that will support establishing an observable system. We will also explore and compare the various protocols that can be used to output metrics from systems. Finally, we will explore the architecture of Prometheus and Mimir to understand how Mimir fills the need for a highly scalable system.
We will cover the following main topics in this chapter:
- Updating the OpenTelemetry collector for metrics
- Introducing PromQL
- Exploring data collection and metric protocols
- Understanding data storage architectures
- Using exemplars in Grafana