Back to Glossary
Monitoring

What is PromQL?

The query language for selecting and aggregating time-series data in Prometheus.

PromQL (Prometheus Query Language) is the query language for Prometheus. It lets you select time series by metric name and labels, and aggregate over time or across label dimensions. Key functions: rate() (per-second rate of change), increase() (total increase over range), histogram_quantile() (percentile calculation), sum()/avg()/max() (aggregations). Example: rate(http_requests_total{status='500'}[5m]) gives the 500 error rate per second over 5 minutes.

Deep Dive Guide

prometheus grafana monitoring guide

Test your knowledge of PromQL and 130 other DevOps concepts