mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
e561c91d53
This adds a proper duration based lookback buffer for series iterators to allow advancing sequentially while remaining able to calculate time aggregating functions such as `rate` backwards. It uses an array ring buffer to minimize heap allocations for potentially hundreds of thousands of series for a single query. |
||
---|---|---|
chunks | ||
cmd/tsdb | ||
test | ||
block.go | ||
db.go | ||
db_amd64.go | ||
db_test.go | ||
db_unix.go | ||
head.go | ||
index.go | ||
querier.go | ||
querier_test.go | ||
reader.go | ||
writer.go |