prometheus/tsdb
Julien Pivotto 8bc369bf9b
Calculate head chunk size based on actual disk usage (#8139)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-11-03 15:34:59 +05:30
..
chunkenc Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
chunks Calculate head chunk size based on actual disk usage (#8139) 2020-11-03 15:34:59 +05:30
docs/format Consistent naming and better names for fields in TSDB format docs (#8077) 2020-10-19 14:27:19 +05:30
encoding Avoid WriteAt for Postings. 2019-12-16 15:30:49 +00:00
errors MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
fileutil More info in mmap error message (#8058) 2020-10-15 12:58:13 +05:30
goversion tsdb: test for leaks (#7566) 2020-07-21 10:08:06 +02:00
index Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
record Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
test labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025) 2020-10-15 11:31:28 +01:00
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
tombstones Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
tsdbutil Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
wal Fixed WAL corruption on partial writes within a page (#8125) 2020-10-29 16:07:03 +05:30
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
block.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
block_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
blockwriter.go Add a tsdb writer interface (#7950) 2020-10-12 17:04:20 +01:00
blockwriter_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
CHANGELOG.md tsdb/chunkenc: fix typo of return error. (#7670) 2020-10-28 12:03:11 +00:00
compact.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
compact_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
db.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
db_test.go Calculate head chunk size based on actual disk usage (#8139) 2020-11-03 15:34:59 +05:30
head.go Calculate head chunk size based on actual disk usage (#8139) 2020-11-03 15:34:59 +05:30
head_bench_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
head_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00: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 Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
querier.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
querier_bench_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
querier_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
README.md Add links to TSDB blog post series in tsdb/README.md (#8078) 2020-10-19 17:17:10 +05:30
repair.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
repair_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
tsdbblockutil.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
wal.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
wal_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00

TSDB

GoDoc

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: