Subquery Support
Prometheus Blog

Subquery Support


Summary

Prometheus 2.7 introduces subqueries, allowing for range queries within a query – a previously unavailable feature. This eliminates the need to create recording rules for complex calculations like combining rates with different resolutions, saving time and reducing frustration. Subqueries function like an embedded `/query_range` API call, returning a range vector and enabling more dynamic and efficient PromQL expressions, though excessive use may impact performance and should be optimized with recording rules when possible.
Read the Original Article

This article originally appeared on Prometheus Blog.

Read Full Article on Original Site

Popular from Prometheus Blog

1
When (not) to use varbit chunks
When (not) to use varbit chunks

Björn “Beorn” Rabenstein May 8, 2016 76 views

2
Custom service discovery with etcd
Custom service discovery with etcd

Fabian Reinartz Aug 17, 2015 62 views

3
Monitoring DreamHack - the World's Largest Digital Festival
Monitoring DreamHack - the World's Largest Digital Festival

DreamHack Network Team Jun 24, 2015 61 views

4
Interview with Scalefastr
Interview with Scalefastr

Brian Brazil Feb 8, 2018 58 views

5
Interview with JustWatch
Interview with JustWatch

Brian Brazil Oct 12, 2016 56 views