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.
 
 
 
 
 
prometheus/tsdb
Alan Protasio 9d1abbb9ed
Call PostCreation callback only after the new series is added to the mempotings (#15579)
11 months ago
..
agent fix(test): do not run automatic WAL truncate during test 1 year ago
chunkenc tsdb/chunkenc: don't reuse custom value slices between histograms 1 year ago
chunks enable errorf rule from perfsprint linter 1 year ago
docs Merge branch 'main' into cedwards/nhcb-wal-wbl 12 months ago
encoding Attempt for record type 1 year ago
errors Enable default revive rules (#13068) 2 years ago
fileutil tests: remove err from message when testify prints it already 2 years ago
goversion remove obsolete build tag 2 years ago
index Expose ListPostings Length via Len() method (#15678) 12 months ago
record chore: fix function name and struct name in comment (#15827) 11 months ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones chore!: adopt log/slog, remove go-kit/log 1 year ago
tsdbutil Merge branch 'main' into cedwards/nhcb-wal-wbl 12 months ago
wlog Fix issues raised by staticcheck (#15722) 12 months ago
.gitignore Moving tsdb into its own subdirectory 6 years ago
CHANGELOG.md Rename default branch to main 5 years ago
README.md Fixed broken link in tsdb README.md 3 years ago
block.go Signed-off-by: crystalstall <crystalruby@qq.com> 12 months ago
block_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
blockwriter.go chore!: adopt log/slog, remove go-kit/log 1 year ago
blockwriter_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
compact.go Merge pull request #14489 from harry671003/implement_metadata_limit 1 year ago
compact_test.go tsdb tests: avoid capture-by-reference in goroutines 11 months ago
db.go tsdb: export CheckpointPrefix constant (#15636) 1 year ago
db_test.go tsdb tests: restrict some 'defer' operations 11 months ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 1 year ago
exemplar_test.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 1 year ago
head.go Call PostCreation callback only after the new series is added to the mempotings (#15579) 11 months ago
head_append.go Use new record type only for NHCB 1 year ago
head_bench_test.go Revert "Fix `MemPostings.Add` and `MemPostings.Get` data race (#15141)" 1 year ago
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 1 year ago
head_other.go chore!: adopt log/slog, remove go-kit/log 1 year ago
head_read.go TSDB: Move merge of head postings into index 1 year ago
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 2 years ago
head_test.go tsdb tests: avoid 'defer' till end of function 11 months ago
head_wal.go tsdb tests: avoid capture-by-reference in goroutines 11 months ago
isolation.go tsdb: create isolation transaction slice on demand 2 years ago
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 3 years ago
mocks_test.go tsdb: use Go standard errors 2 years ago
ooo_head.go TSDB: Remove code for querying OOO-head only 1 year ago
ooo_head_read.go [PERF] TSDB: Optimize inverse matching (#14144) 1 year ago
ooo_head_read_test.go Rename old histogram record type, use old names for new records 1 year ago
ooo_head_test.go fix TestOOOHeadChunkReader_Chunk on 32-bit 1 year ago
ooo_isolation.go Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115) 2 years ago
ooo_isolation_test.go Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115) 2 years ago
querier.go Fix bug in lbl!~".+" shortcut (#15684) 1 year ago
querier_bench_test.go TSDB benchmarks: Commit periodically to speed up init 12 months ago
querier_test.go tsdb tests: restrict some 'defer' operations 11 months ago
repair.go chore!: adopt log/slog, remove go-kit/log 1 year ago
repair_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
testutil.go Merge branch 'main' into cedwards/nhcb-wal-wbl 12 months ago
tsdbblockutil.go enable errorf rule from perfsprint linter 1 year ago

README.md

TSDB

GoPkg

This directory contains the Prometheus TSDB (Time Series DataBase) library, which handles storage and querying of all Prometheus v2 data.

Documentation

External resources

A series of blog posts explaining different components of TSDB: