The Prometheus monitoring system and time series database.
Find a file
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
chunks Change chunk sample number to BigEndian 2016-12-12 08:11:53 +01:00
cmd/tsdb Implement proper buffered iterator 2016-12-14 21:14:44 +01:00
test Add new interfaces and skeleton 2016-12-04 13:16:11 +01:00
block.go Add queriers and partial mocks 2016-12-13 15:26:58 +01:00
db.go Misc fixes for initial Prometheus integration 2016-12-14 18:38:46 +01:00
db_amd64.go Add initial seriailization of block data 2016-12-08 17:43:10 +01:00
db_test.go Add new interfaces and skeleton 2016-12-04 13:16:11 +01:00
db_unix.go Add proper mmap calls 2016-12-11 15:49:36 +01:00
head.go Misc fixes for initial Prometheus integration 2016-12-14 18:38:46 +01:00
index.go Misc fixes for initial Prometheus integration 2016-12-14 18:38:46 +01:00
querier.go Implement proper buffered iterator 2016-12-14 21:14:44 +01:00
querier_test.go Implement proper buffered iterator 2016-12-14 21:14:44 +01:00
reader.go Misc fixes for initial Prometheus integration 2016-12-14 18:38:46 +01:00
writer.go Write chunk skiplist and add series reader 2016-12-12 15:39:55 +01:00