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 c5a832b394
Close resources after failing to startup TSDB (#8031)
4 years ago
..
chunkenc
chunks Simplify TestHeadReadWriter_Truncate (#7437) 4 years ago
docs/format Consistent naming and better names for fields in TSDB format docs (#8077) 4 years ago
encoding
errors
fileutil More info in mmap error message (#8058) 4 years ago
goversion
index
record
test labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025) 4 years ago
testdata
tombstones
tsdbutil
wal
.gitignore
CHANGELOG.md
README.md Add links to TSDB blog post series in tsdb/README.md (#8078) 4 years ago
block.go Create a checkpoint only at the end of Compact call (#8067) 4 years ago
block_test.go Add a tsdb writer interface (#7950) 4 years ago
blockwriter.go Add a tsdb writer interface (#7950) 4 years ago
blockwriter_test.go Add a tsdb writer interface (#7950) 4 years ago
compact.go log on empty head compaction result (#8037) 4 years ago
compact_test.go Create a checkpoint only at the end of Compact call (#8067) 4 years ago
db.go Close resources after failing to startup TSDB (#8031) 4 years ago
db_test.go Create a checkpoint only at the end of Compact call (#8067) 4 years ago
head.go Create a checkpoint only at the end of Compact call (#8067) 4 years ago
head_bench_test.go
head_test.go Create a checkpoint only at the end of Compact call (#8067) 4 years ago
isolation.go
isolation_test.go
mocks_test.go Promtool tsdb list now prints block sizes (#7993) 4 years ago
querier.go Implement series API query hint to not hit chunks (#8050) 4 years ago
querier_bench_test.go
querier_test.go
repair.go
repair_test.go
tsdbblockutil.go Add a tsdb writer interface (#7950) 4 years ago
wal.go
wal_test.go

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: