prometheus/tsdb
Ganesh Vernekar 4a8531a64b
BlocksToDelete function in DB options (#7638)
* Optional retention filter for DB

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Fix review comments

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Specify len for the map creation

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2020-07-22 20:49:33 +05:30
..
chunkenc
chunks Fix review comments 2020-07-16 12:43:27 +05:30
cmd/tsdb
docs/format
encoding
errors
fileutil
goversion
index
record
test
testdata
tombstones
tsdbutil
wal
.gitignore
block.go
block_test.go
CHANGELOG.md
compact.go
compact_test.go
db.go
db_test.go
head.go
head_bench_test.go
head_test.go
isolation.go
isolation_test.go
mocks_test.go
querier.go
querier_bench_test.go
querier_test.go
README.md
repair.go
repair_test.go
tsdbblockutil.go
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.