prometheus/tsdb
Ganesh Vernekar faa1554aa1
Don't call runtime.GC() after compaction (#8276)
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2020-12-22 14:44:17 +00:00
..
chunkenc Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
chunks Add option to customise head chunks write buffer size (#8201) 2020-11-19 18:30:47 +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 Cache label name and last value when adding series (#8192) 2020-11-19 11:18:12 -07: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
block_test.go Add option to customise head chunks write buffer size (#8201) 2020-11-19 18:30:47 +05:30
block.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
blockwriter_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
blockwriter.go Backfill from OpenMetrics format (#8084) 2020-11-26 10:37:06 +05:30
CHANGELOG.md tsdb/chunkenc: fix typo of return error. (#7670) 2020-10-28 12:03:11 +00:00
compact_test.go Add option to customise head chunks write buffer size (#8201) 2020-11-19 18:30:47 +05:30
compact.go Set the min time of Head properly after truncation (#8212) 2020-11-25 18:33:30 +05:30
db_test.go Add option to customise head chunks write buffer size (#8201) 2020-11-19 18:30:47 +05:30
db.go Don't call runtime.GC() after compaction (#8276) 2020-12-22 14:44:17 +00:00
head_bench_test.go Add option to customise head chunks write buffer size (#8201) 2020-11-19 18:30:47 +05:30
head_test.go Set the min time of Head properly after truncation (#8212) 2020-11-25 18:33:30 +05:30
head.go tsdb: Remove duplicate variables. (#8239) 2020-11-30 08:55:33 +00:00
isolation_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
mocks_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
querier_bench_test.go Add option to customise head chunks write buffer size (#8201) 2020-11-19 18:30:47 +05:30
querier_test.go Add option to customise head chunks write buffer size (#8201) 2020-11-19 18:30:47 +05:30
querier.go Exposed DeletionIterator and CompactMetas functions. (#8161) 2020-11-09 16:51:25 +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_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
repair.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
tsdbblockutil.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
wal.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02: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: