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.
 
 
 
 
 
Peter Štibraný 422e7839d4
Add more size checks when writing individual sections in the index. (#9710)
3 years ago
..
agent tsdb/agent: use unique registry per tests 3 years ago
chunkenc improve bstream comments and doc (#9560) 3 years ago
chunks tsdb/chunks: preallocate at least some space on non-Windows systems (#9581) 3 years ago
docs TSDB: demistify SeriesRefs and ChunkRefs (#9536) 3 years ago
encoding Format Go source files using 'gofumpt -w -s -extra' 3 years ago
errors Address golint failures from revive 3 years ago
fileutil tsdb: Add windows arm64 support. 3 years ago
goversion Add new Go build tags. 3 years ago
index Add more size checks when writing individual sections in the index. (#9710) 3 years ago
record Move packages out of deprecated pkg directory 3 years ago
test Move packages out of deprecated pkg directory 3 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 4 years ago
tombstones TSDB: demistify SeriesRefs and ChunkRefs (#9536) 3 years ago
tsdbutil Format Go source files using 'gofumpt -w -s -extra' 3 years ago
wal tsdb/wal: fix flaky TestReaderFuzz* tests 3 years ago
.gitignore Moving tsdb into its own subdirectory 5 years ago
CHANGELOG.md Rename default branch to main 4 years ago
README.md improve bstream comments and doc (#9560) 3 years ago
block.go Move packages out of deprecated pkg directory 3 years ago
block_test.go Move packages out of deprecated pkg directory 3 years ago
blockwriter.go Move packages out of deprecated pkg directory 3 years ago
blockwriter_test.go Move packages out of deprecated pkg directory 3 years ago
compact.go TSDB: demistify SeriesRefs and ChunkRefs (#9536) 3 years ago
compact_test.go Move packages out of deprecated pkg directory 3 years ago
db.go Move packages out of deprecated pkg directory 3 years ago
db_test.go tsdb: mark TestTombstoneCleanRetentionLimitsRace test as slow 3 years ago
exemplar.go Move packages out of deprecated pkg directory 3 years ago
exemplar_test.go Move packages out of deprecated pkg directory 3 years ago
head.go Move packages out of deprecated pkg directory 3 years ago
head_append.go Move packages out of deprecated pkg directory 3 years ago
head_bench_test.go Move packages out of deprecated pkg directory 3 years ago
head_read.go Move packages out of deprecated pkg directory 3 years ago
head_test.go Move packages out of deprecated pkg directory 3 years ago
head_wal.go Move packages out of deprecated pkg directory 3 years ago
isolation.go Add present_over_time (#9097) 3 years ago
isolation_test.go tsdb: Block Head GC till pending readers are done reading (#9081) 3 years ago
mocks_test.go Move packages out of deprecated pkg directory 3 years ago
querier.go Move packages out of deprecated pkg directory 3 years ago
querier_bench_test.go Move packages out of deprecated pkg directory 3 years ago
querier_test.go Move packages out of deprecated pkg directory 3 years ago
repair.go Switched to go-kit/log 4 years ago
repair_test.go Move packages out of deprecated pkg directory 3 years ago
tsdbblockutil.go TSDB: demistify SeriesRefs and ChunkRefs (#9536) 3 years ago
wal.go Move packages out of deprecated pkg directory 3 years ago
wal_test.go Move packages out of deprecated pkg directory 3 years ago

README.md

TSDB

GoPkg

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 and bstream details.

A series of blog posts explaining different components of TSDB: