prometheus/tsdb
Ganesh Vernekar 35b1a82594
Exemplars in snapshot (#9255)
* Exemplars in snapshot

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add docs

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-08-30 19:34:38 +05:30
..
chunkenc remove redundant parentheses (#9134) 2021-07-29 18:26:57 +05:30
chunks Add new Go build tags. 2021-08-27 10:24:14 +02:00
docs/format Exemplars in snapshot (#9255) 2021-08-30 19:34:38 +05:30
encoding Snapshot in-memory chunks on shutdown for faster restarts (#7229) 2021-08-06 17:51:01 +01:00
errors
fileutil Add new Go build tags. 2021-08-27 10:24:14 +02:00
goversion Add new Go build tags. 2021-08-27 10:24:14 +02:00
index Speed up BenchmarkPostings_Stats (#9213) 2021-08-18 10:27:21 +01:00
record Exemplars in snapshot (#9255) 2021-08-30 19:34:38 +05:30
test
testdata
tombstones
tsdbutil
wal Snapshot in-memory chunks on shutdown for faster restarts (#7229) 2021-08-06 17:51:01 +01:00
.gitignore
block.go
block_test.go
blockwriter.go
blockwriter_test.go
CHANGELOG.md
compact.go
compact_test.go
db.go Snapshot in-memory chunks on shutdown for faster restarts (#7229) 2021-08-06 17:51:01 +01:00
db_test.go Also ignore func1 2021-08-28 22:42:22 -04:00
exemplar.go Exemplars in snapshot (#9255) 2021-08-30 19:34:38 +05:30
exemplar_test.go Exemplars in snapshot (#9255) 2021-08-30 19:34:38 +05:30
head.go Exemplars in snapshot (#9255) 2021-08-30 19:34:38 +05:30
head_append.go Snapshot in-memory chunks on shutdown for faster restarts (#7229) 2021-08-06 17:51:01 +01:00
head_bench_test.go
head_read.go Breakdown tsdb/head.go into multiple files (#9147) 2021-08-03 14:14:26 +02:00
head_test.go Exemplars in snapshot (#9255) 2021-08-30 19:34:38 +05:30
head_wal.go Exemplars in snapshot (#9255) 2021-08-30 19:34:38 +05:30
isolation.go Add present_over_time (#9097) 2021-07-29 12:38:11 +02:00
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 Add new Go build tags. 2021-08-27 10:24:14 +02:00

TSDB

GoPkg

This directory 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.

A series of blog posts explaining different components of TSDB: