The Prometheus monitoring system and time series database.
Find a file
Fabian Reinartz a317f252b9 Expose series references to clients
This exposes a reference number of a series represented by a label set
to clients.
Subsequent samples can be directly added via the reference rather than
repeatedly passing in the full labels. This drasitcally speeds up the
append process.

The appender chain uses different sections of the reference number for
assignment to child appenders and invalidating reference numbers as
necessary.

Clients can either pass out reference numbers themselves or have their
own optimized lookup, i.e. by directly associating unparsed metric
descriptors strings with reference numbers.
2017-01-12 20:00:54 +01:00
chunks Run persistence in separate goroutine 2017-01-02 22:24:35 +01:00
cmd/tsdb Expose series references to clients 2017-01-12 20:00:54 +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 Unexport HeadBlock, export Block interface 2017-01-10 15:41:57 +01:00
compact.go Unexport HeadBlock, export Block interface 2017-01-10 15:41:57 +01:00
db.go Expose series references to clients 2017-01-12 20:00:54 +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 Expose series references to clients 2017-01-12 20:00:54 +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 Unexport HeadBlock, export Block interface 2017-01-10 15:41:57 +01:00
querier_test.go Rename shard to partition 2017-01-06 08:08:02 +01:00
reader.go Fix head block stats races 2017-01-07 18:02:17 +01:00
wal.go Use page writer in compaction 2017-01-09 18:47:43 +01:00
wal_test.go Fix head block stats races 2017-01-07 18:02:17 +01:00
writer.go Use page writer in compaction 2017-01-09 18:47:43 +01:00