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
Ridwan Sharif aee78bdb31 ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 months ago
..
agent ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 months ago
chunkenc tsdb/chunkenc: don't reuse custom value slices between histograms 1 year ago
chunks chore: enable unused-parameter from revive 11 months ago
docs Merge branch 'main' into cedwards/nhcb-wal-wbl 1 year ago
encoding Attempt for record type 1 year ago
errors Enable default revive rules (#13068) 2 years ago
fileutil chore: enable unused-parameter from revive 11 months ago
goversion remove obsolete build tag 2 years ago
index chore: enable unused-parameter from revive 11 months ago
record ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 months ago
testdata
tombstones chore!: adopt log/slog, remove go-kit/log 1 year ago
tsdbutil fix: os.MkdirTemp with t.TempDir (#15860) 11 months ago
wlog ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 months ago
.gitignore
CHANGELOG.md Rename default branch to main 5 years ago
README.md Fixed broken link in tsdb README.md 3 years ago
block.go chore: enable unused-parameter from revive 11 months ago
block_test.go chore: enable unused-parameter from revive 11 months 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 Update comments for methods that require a lock 1 year ago
db_test.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 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 Merge pull request #12659 from prymitive/memChunk 10 months ago
head_append.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 months 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: enable unused-parameter from revive 11 months ago
head_read.go chore: enable unused-parameter from revive 11 months ago
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 2 years ago
head_test.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 months ago
head_wal.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 10 months ago
isolation.go chore: enable early-return from revive 11 months ago
isolation_test.go chore: enable unused-parameter from revive 11 months 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 chore: enable unused-parameter from revive 11 months 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 chore: enable unused-parameter from revive 11 months ago
querier_bench_test.go TSDB benchmarks: Commit periodically to speed up init 1 year ago
querier_test.go chore: enable unused-parameter from revive 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 1 year 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: