prometheus/tsdb
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
* Port tsdb to use pkg/labels.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Get tests passing.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Remove useless cast.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Appease linters.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

* Fix review comments

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-11-18 11:53:33 -08:00
..
chunkenc Correct spelling mistakes 2019-10-10 18:46:27 +08:00
chunks Removed extra tsdb/testutil after merge. 2019-08-14 10:12:32 +01:00
cmd/tsdb Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
docs/format new world spelling mistake 2019-10-17 19:09:54 +08:00
encoding Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
errors Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
fileutil Compute WAL size and use it during retention size checks (#5886) 2019-11-12 09:40:16 +07:00
goversion fix the wrong word (#6069) 2019-09-30 09:54:55 -06:00
index Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
record Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
test Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
testdata Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
tombstones remove debug fmt.Println in tombstones. (#6135) 2019-10-14 14:45:26 +03:00
tsdbutil Removed extra tsdb/testutil after merge. 2019-08-14 10:12:32 +01:00
wal Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
block.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
block_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
CHANGELOG.md fix-up tsdb-typo (#5954) 2019-08-28 14:43:02 +01:00
compact.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
compact_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
db.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
db_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
head.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
head_bench_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
head_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
mocks_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
querier.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
querier_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
README.md Edit TSDB README badges 2019-10-24 15:35:47 +05:30
repair.go tsdb: add block meta version constant (#5994) 2019-09-09 12:28:01 +03:00
repair_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
wal.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
wal_test.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00

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.