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.
 
 
 
 
 
Bryan Boreham c7a62b95ce
GetRef() now returns the label set (#8641)
4 years ago
..
chunkenc Testify: move to require (#8122) 4 years ago
chunks Fixed TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks for go1.16 (#8538) 4 years ago
docs/format Consistent naming and better names for fields in TSDB format docs (#8077) 4 years ago
encoding
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
index Add matchers to LabelValues() call (#8400) 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
tombstones Testify: move to require (#8122) 4 years ago
tsdbutil Testify: move to require (#8122) 4 years ago
wal Compress records before checking segment size (#8501) 4 years ago
.gitignore
CHANGELOG.md Rename default branch to main 4 years ago
README.md Link blog post on TSDB queries in tsdb/README.md (#8391) 4 years ago
block.go Rolling tombstones clean up (#8007) 4 years ago
block_test.go Combine Appender.Add and AddFast into a single Append method. (#8489) 4 years ago
blockwriter.go Combine NewHead() args into a HeadOptions struct (#8452) 4 years ago
blockwriter_test.go Combine Appender.Add and AddFast into a single Append method. (#8489) 4 years ago
compact.go Increase the buckets for compaction duration (#8342) 4 years ago
compact_test.go Combine Appender.Add and AddFast into a single Append method. (#8489) 4 years ago
db.go GetRef() now returns the label set (#8641) 4 years ago
db_test.go Fix DB tests in the default branch 4 years ago
exemplar.go Add circular in-memory exemplars storage (#6635) 4 years ago
exemplar_test.go Add circular in-memory exemplars storage (#6635) 4 years ago
head.go GetRef() now returns the label set (#8641) 4 years ago
head_bench_test.go TSDB: optimize series creation on PreCreation() failure (#8620) 4 years ago
head_test.go Add circular in-memory exemplars storage (#6635) 4 years ago
isolation.go
isolation_test.go
mocks_test.go Move away from testutil, refactor imports (#8087) 4 years ago
querier.go Add matchers to LabelValues() call (#8400) 4 years ago
querier_bench_test.go Combine Appender.Add and AddFast into a single Append method. (#8489) 4 years ago
querier_test.go Combine Appender.Add and AddFast into a single Append method. (#8489) 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 Combine Appender.Add and AddFast into a single Append method. (#8489) 4 years ago
wal.go Update golangci-lint to 1.36.0 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: