series selector

The part of a PromQL query that names a metric and optional label matchers, choosing which time series take part.

In more detail

A bare metric name selects the whole family of series; matchers in braces narrow it. Read a selector as a sentence: start with the family, then say which dimensions belong in the answer.

Example

http_requests_total{route="/checkout",status=~"5.."}

Related terms

Taught in

References