time window
The stretch of time a query or objective looks across, such as the last 5 minutes or 30 days.
In more detail
Changing the window changes the meaning of the answer: a 5-minute rate reacts fast and is noisy, a 1-hour rate is steady and slow. SLOs and burn-rate alerts also depend on explicit windows.
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].
- rate() — The PromQL function that turns a counter into its average increase per second over a time window, handling restarts.
- burn rate — How fast the error budget is being spent, compared with spending it exactly evenly over the SLO window.
- service level objective — A target for a service level indicator over a time window, such as 99.9 per cent of checkouts succeeding over 30 days.
Taught in
- Rates And Increases Over Time — Full-Stack Observability: Metrics, Tracing & Logging
- Grafana: Connecting The Data Source — Full-Stack Observability: Metrics, Tracing & Logging
- Bringing The Three Signals Together — Full-Stack Observability: Metrics, Tracing & Logging
- Service Level Indicators — Full-Stack Observability: Metrics, Tracing & Logging
- Service Level Objectives — Full-Stack Observability: Metrics, Tracing & Logging
- Error Budgets And Burn Rate Alerts — Full-Stack Observability: Metrics, Tracing & Logging
- Fifteen Lines And No Answer: Aggregating Over Labels — Prometheus Certified Associate (PCA) Exam Prep