© Navin Sabharwal, Piyush Pandey 2020
N. Sabharwal, P. PandeyMonitoring Microservices and Containerized Applicationshttps://doi.org/10.1007/978-1-4842-6216-0_5

5. Working with Prometheus Query Language (PromQL)

Navin Sabharwal1  and Piyush Pandey2
(1)
New Delhi, Delhi, India
(2)
New Delhi, India
 

PromQL (Prometheus Query Language) is a functional query language provided by Prometheus to enable the user to query data stored in real time and perform all sorts of analysis, aggregations, and operations. In this chapter, we will provide hands-on steps to the readers that will enable them to use PromQL.

Prior to getting started with PromQL, let’s briefly understand the way data is stored in Prometheus.

Data in Prometheus

As we know by now, Prometheus monitors ...

Get Monitoring Microservices and Containerized Applications: Deployment, Configuration, and Best Practices for Prometheus and Alert Manager now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.