The Prometheus monitoring system and time series database.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Arthur Silva Sens 7e932637e3
Reload tsdb blocks every minute (#8340)
4 years ago
..
chunkenc Testify: move to require (#8122) 4 years ago
chunks Fix golint issue caused by typo 4 years ago
docs/format Consistent naming and better names for fields in TSDB format docs (#8077) 4 years ago
encoding Avoid WriteAt for Postings. 5 years ago
errors MultiError: Refactored MultiError for more concise and safe usage. (#8066) 4 years ago
fileutil More info in mmap error message (#8058) 4 years ago
goversion tsdb: test for leaks (#7566) 4 years ago
index tsdb: Expose total number of label pairs in head in TSDB stats page (#8343) 4 years ago
record Testify: move to require (#8122) 4 years ago
test labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025) 4 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 4 years ago
tombstones Testify: move to require (#8122) 4 years ago
tsdbutil Testify: move to require (#8122) 4 years ago
wal Fixed WAL corruption on partial writes within a page (#8125) 4 years ago
.gitignore Moving tsdb into its own subdirectory 5 years ago
CHANGELOG.md tsdb/chunkenc: fix typo of return error. (#7670) 4 years ago
README.md Add links to TSDB blog post series in tsdb/README.md (#8078) 4 years ago
block.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 4 years ago
block_test.go Add option to customise head chunks write buffer size (#8201) 4 years ago
blockwriter.go Backfill from OpenMetrics format (#8084) 4 years ago
blockwriter_test.go Testify: move to require (#8122) 4 years ago
compact.go Lowered 'Found overlapping blocks during compaction' log level 4 years ago
compact_test.go Add option to customise head chunks write buffer size (#8201) 4 years ago
db.go Reload tsdb blocks every minute (#8340) 4 years ago
db_test.go Add option to customise head chunks write buffer size (#8201) 4 years ago
head.go tsdb: Remove duplicate variables. (#8239) 4 years ago
head_bench_test.go Add option to customise head chunks write buffer size (#8201) 4 years ago
head_test.go Set the min time of Head properly after truncation (#8212) 4 years ago
isolation.go Optimise lowWatermark in Isolation (#7332) 5 years ago
isolation_test.go Optimise lowWatermark in Isolation (#7332) 5 years ago
mocks_test.go Move away from testutil, refactor imports (#8087) 4 years ago
querier.go Exposed DeletionIterator and CompactMetas functions. (#8161) 4 years ago
querier_bench_test.go Add option to customise head chunks write buffer size (#8201) 4 years ago
querier_test.go Add option to customise head chunks write buffer size (#8201) 4 years ago
repair.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 4 years ago
repair_test.go Testify: move to require (#8122) 4 years ago
tsdbblockutil.go Move away from testutil, refactor imports (#8087) 4 years ago
wal.go Move away from testutil, refactor imports (#8087) 4 years ago
wal_test.go Testify: move to require (#8122) 4 years ago

README.md

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: