prometheus/cmd/tsdb
Fabian Reinartz e561c91d53 Implement proper buffered iterator
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.
2016-12-14 21:14:44 +01:00
..
.gitignore Add write benchmark utility 2016-12-07 17:30:10 +01:00
main.go Implement proper buffered iterator 2016-12-14 21:14:44 +01:00
Makefile misc 2016-12-09 10:00:14 +01:00