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
Matthieu MOREL 5fa1146e21
chore: enable gci linter (#16245)
3 months ago
..
agent Add util/compression package to consolidate snappy/zstd use in Prometheus. (#16156) 4 months ago
chunkenc Let HistogramAppender.appendable return CounterResetHeader instead of… (#16195) 3 months ago
chunks chore: enable unused-parameter from revive 4 months ago
docs chore: fix some comments (#16237) 3 months ago
encoding Attempt for record type 7 months ago
errors Upgrade to Go v1.24 (#16180) 4 months ago
fileutil chore: enable unused-parameter from revive 4 months ago
goversion remove obsolete build tag 1 year ago
index chore: enable unused-parameter from revive 4 months ago
record chore: enable gci linter (#16245) 3 months ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones chore: enable gci linter (#16245) 3 months ago
tsdbutil chore: enable gci linter (#16245) 3 months ago
wlog [PERF] Remote-write: re-use memory to read WAL data (#16197) 4 months ago
.gitignore Moving tsdb into its own subdirectory 6 years ago
CHANGELOG.md Rename default branch to main 4 years ago
README.md Fixed broken link in tsdb README.md 3 years ago
block.go chore: enable gci linter (#16245) 3 months ago
block_test.go chore: enable unused-parameter from revive 4 months ago
blockwriter.go Upgrade to github.com/oklog/ulid/v2 (#16168) 4 months ago
blockwriter_test.go chore: enable gci linter (#16245) 3 months ago
compact.go Upgrade to github.com/oklog/ulid/v2 (#16168) 4 months ago
compact_test.go Add util/compression package to consolidate snappy/zstd use in Prometheus. (#16156) 4 months ago
db.go Make out-of-order native histograms flag a no-op and always enable (#16207) 3 months ago
db_test.go Make out-of-order native histograms flag a no-op and always enable (#16207) 3 months ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 8 months ago
exemplar_test.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 8 months ago
head.go chore: enable gci linter (#16245) 3 months ago
head_append.go Make out-of-order native histograms flag a no-op and always enable (#16207) 3 months ago
head_bench_test.go Add util/compression package to consolidate snappy/zstd use in Prometheus. (#16156) 4 months ago
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 9 months ago
head_other.go chore: enable unused-parameter from revive 4 months ago
head_read.go chore: enable unused-parameter from revive 4 months ago
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 12 months ago
head_test.go chore: enable gci linter (#16245) 3 months ago
head_wal.go chore: enable gci linter (#16245) 3 months ago
isolation.go chore: enable early-return from revive 5 months ago
isolation_test.go chore: enable unused-parameter from revive 4 months ago
mocks_test.go tsdb: use Go standard errors 2 years ago
ooo_head.go Add util/compression package to consolidate snappy/zstd use in Prometheus. (#16156) 4 months ago
ooo_head_read.go Upgrade to github.com/oklog/ulid/v2 (#16168) 4 months ago
ooo_head_read_test.go Make out-of-order native histograms flag a no-op and always enable (#16207) 3 months ago
ooo_head_test.go chore: enable gci linter (#16245) 3 months 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 Upgrade to github.com/oklog/ulid/v2 (#16168) 4 months ago
querier_bench_test.go chore: enable gci linter (#16245) 3 months ago
querier_test.go Make out-of-order native histograms flag a no-op and always enable (#16207) 3 months ago
repair.go chore!: adopt log/slog, remove go-kit/log 9 months ago
repair_test.go feat: Allow customizing TSDB postings decoder (#13567) 8 months ago
testutil.go chore: enable gci linter (#16245) 3 months ago
tsdbblockutil.go enable errorf rule from perfsprint linter 8 months 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: