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.
prometheus/tsdb
Oleg Zaytsev 3dd18a1ece
Test that approxBytesPerEntry const is correct
3 years ago
..
chunkenc
chunks Add new Go build tags. 3 years ago
docs/format Exemplars in snapshot (#9255) 3 years ago
encoding Snapshot in-memory chunks on shutdown for faster restarts (#7229) 3 years ago
errors
fileutil Add new Go build tags. 3 years ago
goversion Add new Go build tags. 3 years ago
hashcache Test that approxBytesPerEntry const is correct 3 years ago
index Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
record Exemplars in snapshot (#9255) 3 years ago
test
testdata
tombstones Call delete on head if interval overlaps (#9151) 3 years ago
tsdbutil
wal Snapshot in-memory chunks on shutdown for faster restarts (#7229) 3 years ago
.gitignore
CHANGELOG.md
README.md Link 2 more TSDB blog posts in tsdb/README.md (#9371) 3 years ago
block.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
block_test.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
blockwriter.go
blockwriter_test.go Do not break exported functions signatures (#6) 3 years ago
compact.go Address review feedback. 3 years ago
compact_test.go Always include empty symbol in the symbol table. 3 years ago
db.go Merge remote-tracking branch 'upstream/main' into codesome/syncprom 3 years ago
db_test.go Also ignore `func1` 3 years ago
exemplar.go Fix div by 0 panic is resize function. (#9286) 3 years ago
exemplar_test.go Fix div by 0 panic is resize function. (#9286) 3 years ago
head.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
head_append.go Decrement active_appenders metric when no samples added (#9230) 3 years ago
head_bench_test.go
head_read.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
head_test.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
head_wal.go Merge remote-tracking branch 'upstream/main' into sync 3 years ago
isolation.go
isolation_test.go
mocks_test.go
postings_for_matchers_cache.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
postings_for_matchers_cache_test.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
querier.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
querier_bench_test.go Adding benchmark. 3 years ago
querier_test.go Implement PostingsCloner and implement promise/future pattern for PostingsForMatchers (#14) 3 years ago
repair.go
repair_test.go Do not break exported functions signatures (#6) 3 years ago
symbols_batch.go Address review feedback. 3 years ago
symbols_batch_test.go Address review feedback. 3 years ago
tsdbblockutil.go
wal.go
wal_test.go Add new Go build tags. 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.

A series of blog posts explaining different components of TSDB: