The Prometheus monitoring system and time series database.
Find a file
Fabian Reinartz 9790aa98ac Add postings wrapper that emits head postings in label set order
This adds a position mapper that takes series from a head block
in the order they were appended and creates a mapping representing
them in order of their label sets.

Write-repair of the postings list would cause very expensive writing.
Hence, we keep them as they are and only apply the postition mapping
at the very end, after a postings list has been sufficienctly reduced
through intersections etc.
2017-01-05 16:05:42 +01:00
chunks Run persistence in separate goroutine 2017-01-02 22:24:35 +01:00
cmd/tsdb Add small testdata file 2016-12-22 19:15:37 +01:00
labels Add merge postings 2016-12-28 11:02:19 +01:00
test Add merge postings 2016-12-28 11:02:19 +01:00
block.go Consolidate persistence and compaction 2017-01-03 16:49:37 +01:00
compact.go Add postings wrapper that emits head postings in label set order 2017-01-05 16:05:42 +01:00
db.go Compact head block into persisted block 2017-01-04 21:11:15 +01:00
db_amd64.go Add initial seriailization of block data 2016-12-08 17:43:10 +01:00
db_test.go Fix test import of labels, simplify constructor names 2016-12-21 15:12:26 +01:00
db_unix.go Add proper mmap calls 2016-12-11 15:49:36 +01:00
head.go Add postings wrapper that emits head postings in label set order 2017-01-05 16:05:42 +01:00
head_test.go Add postings wrapper that emits head postings in label set order 2017-01-05 16:05:42 +01:00
postings.go Rename iterator value getters to At() 2017-01-02 13:33:06 +01:00
postings_test.go Add merge postings 2016-12-28 11:02:19 +01:00
querier.go Add postings wrapper that emits head postings in label set order 2017-01-05 16:05:42 +01:00
querier_test.go Hotfix missing sorting of head block series index 2017-01-04 09:47:20 +01:00
reader.go Add basic compaction 2017-01-02 10:34:55 +01:00
wal.go Make persistence atomic 2017-01-02 14:41:13 +01:00
wal_test.go Add basic shard metrics 2016-12-31 09:48:49 +01:00
writer.go Make persistence atomic 2017-01-02 14:41:13 +01:00