instant vector
A PromQL result holding one current value for each matching series, with that series' labels kept beside it.
In more detail
Most PromQL answers are instant vectors: a set of labelled values, not a single number. You can aggregate them with sum or count, or leave them unaggregated so the labels still tell you which route or instance each value came from.
Related terms
- range vector — A PromQL selection of every sample in a time window for each series, written with a duration in square brackets such as [5m].
- aggregation operator — A PromQL operator such as sum, count or max that combines many series into fewer, optionally grouped by chosen labels.
- instant query — A PromQL query evaluated at a single moment, returning the latest value of each series.
Taught in
- PromQL Basics And Selectors — Full-Stack Observability: Metrics, Tracing & Logging
- Ninety Minutes, No Question Count: Exam Strategy — Prometheus Certified Associate (PCA) Exam Prep
- The Server That Would Not Die: Selecting Data — Prometheus Certified Associate (PCA) Exam Prep
- Fifteen Requests Nobody Saw: Aggregating Over Time — Prometheus Certified Associate (PCA) Exam Prep
- Fifteen Lines And No Answer: Aggregating Over Labels — Prometheus Certified Associate (PCA) Exam Prep
- Is The New Version Worse? Binary Operators And Matching — Prometheus Certified Associate (PCA) Exam Prep
- PromQL Sprint: Ten Queries At Minute Twenty Two — Prometheus Certified Associate (PCA) Exam Prep