prometheus/tsdb
Peter Štibraný ff80690a6e
Optimise lowWatermark in Isolation (#7332)
* Track open appenders in doubly-linked list to make lowWatermark O(1).
* Use RW locks.
* Added BenchmarkIsolationWithState.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
2020-06-03 20:09:05 +02:00
..
chunkenc
chunks Remove time based m-map file creation (#7314) 2020-05-29 20:08:41 +05:30
cmd/tsdb
docs/format
encoding Avoid WriteAt for Postings. 2019-12-16 15:30:49 +00:00
errors
fileutil
goversion
index
record Add unit test case for func Type in record.go (#7082) 2020-05-27 12:08:33 +05:30
test
testdata
tombstones
tsdbutil storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005) 2020-03-24 20:15:47 +00:00
wal
.gitignore
block.go
block_test.go Callbacks for lifecycle of series in TSDB (#7159) 2020-05-20 18:52:08 +05:30
CHANGELOG.md
compact.go More explicit chunks and head error handling. (#7277) 2020-05-22 12:03:23 +03:00
compact_test.go Callbacks for lifecycle of series in TSDB (#7159) 2020-05-20 18:52:08 +05:30
db.go Use min and maxt of the range head when creating a block (#7282) 2020-05-22 17:00:06 +05:30
db_test.go
head.go Optimise lowWatermark in Isolation (#7332) 2020-06-03 20:09:05 +02:00
head_bench_test.go Callbacks for lifecycle of series in TSDB (#7159) 2020-05-20 18:52:08 +05:30
head_test.go Optimise lowWatermark in Isolation (#7332) 2020-06-03 20:09:05 +02:00
isolation.go Optimise lowWatermark in Isolation (#7332) 2020-06-03 20:09:05 +02:00
isolation_test.go Optimise lowWatermark in Isolation (#7332) 2020-06-03 20:09:05 +02:00
mocks_test.go
querier.go Added time range parameters to labelNames API (#7288) 2020-05-30 13:50:09 +01:00
querier_bench_test.go Callbacks for lifecycle of series in TSDB (#7159) 2020-05-20 18:52:08 +05:30
querier_test.go Callbacks for lifecycle of series in TSDB (#7159) 2020-05-20 18:52:08 +05:30
README.md
repair.go
repair_test.go
tsdbblockutil.go Callbacks for lifecycle of series in TSDB (#7159) 2020-05-20 18:52:08 +05:30
wal.go
wal_test.go

TSDB

GoDoc

This repository contains the Prometheus storage layer that is used in its 2.x releases.

A writeup of its design can be found here.

Based on the Gorilla TSDB white papers.

Video: Storing 16 Bytes at Scale from PromCon 2017.

See also the format documentation.