prometheus/cmd/tsdb
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
..
.gitignore Add write benchmark utility 2016-12-07 17:30:10 +01:00
main.go Expose series references to clients 2017-01-12 20:00:54 +01:00
Makefile Add barrier to benchmark writer 2017-01-11 13:01:30 +01:00
testdata.20k Add small testdata file 2016-12-22 19:15:37 +01:00