thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Advanced

PromQL

The Prometheus Query Language used to select, aggregate, and compute on time-series metrics.

Definition

PromQL supports instant and range vectors, label matchers, functions like rate() and histogram_quantile(), and aggregation operators such as sum by (label). It drives dashboards and alert rules.

Example

sum(rate(http_requests_total{status=~"5.."}[5m])) by (service)

Exam tip

Use rate() on counters, never on gauges; rate over a range vector handles counter resets.

Related terms