instant query
A PromQL query evaluated at a single moment, returning the latest value of each series.
In more detail
The Prometheus HTTP API endpoint /api/v1/query runs instant queries. Passing a time parameter evaluates the query at that past moment instead of now.
Example
The course helper query.sh asks at a fixed recorded time so every learner gets the same answer.Related terms
- range query — A PromQL query evaluated repeatedly across a time range, producing the points of a graph.
- instant vector — A PromQL result holding one current value for each matching series, with that series' labels kept beside it.
- Prometheus HTTP API — The web interface Prometheus offers for running queries and inspecting targets, used by Grafana and by scripts.
Taught in
- PromQL Basics And Selectors — Full-Stack Observability: Metrics, Tracing & Logging
- 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