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
Bryan Boreham 41665a4a55 [CHORE] TSDB: Remove unused LabelValueFor function 3 days ago
..
agent feat: rename CreatedTimestamp to StartTimestamp (#17523) 1 month ago
chunkenc Add histogram validation in remote-read and during reducing resolution (#17561) 3 weeks ago
chunks tsdb: guard chunk length overflow in head chunk reader (#17533) 4 weeks ago
docs docs: Fix chunk format documentation for `varint` encoding 4 months ago
encoding Attempt for record type 1 year ago
errors tsdb/errors.MultiError: support errors.As (#16544) 7 months ago
fileutil chore(direct_io): fix constructor's name (#17371) 2 months ago
goversion remove obsolete build tag 2 years ago
index [CHORE] TSDB: Remove unused LabelValueFor function 3 days ago
record Add histogram validation in remote-read and during reducing resolution (#17561) 3 weeks ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones docs: minor improvement for docs 2 months ago
tsdbutil Apply analyzer "modernize" to the whole codebase 4 months ago
wlog Update golangci-lint (#17478) 1 month 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 [CHORE] TSDB: Remove unused LabelValueFor function 3 days ago
block_test.go Update modernize (#17471) 1 month ago
blockwriter.go refactor(appenderV2): port TSDB non-head tests 6 days ago
blockwriter_test.go refactor(appenderV2): port TSDB non-head tests 6 days ago
compact.go feat: Add flag that blocks lvl 1 compactions until upload is confirmed in an external JSON file (#17435) 2 weeks ago
compact_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 2 weeks ago
db.go Merge pull request #17427 from roidelapluie/roidelapluie/ffapi 5 days ago
db_append_v2_test.go refactor(appenderV2): port TSDB non-head tests 6 days ago
db_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 2 weeks ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go Apply analyzer "modernize" to the whole codebase 4 months ago
exemplar_test.go Update modernize (#17471) 1 month ago
head.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 days ago
head_append.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 days ago
head_append_v2.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 days ago
head_append_v2_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 days ago
head_bench_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 days ago
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 1 year ago
head_other.go chore: enable unused-receiver rule from revive 4 months ago
head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 3 days ago
head_read_test.go Apply analyzer "modernize" to the whole codebase 4 months ago
head_test.go Merge pull request #17629 from prometheus/bwplotka/a2-tsdb 6 days ago
head_wal.go Merge pull request #17351 from bboreham/simplify-precreate 1 month ago
isolation.go Apply analyzer "modernize" to the whole codebase 4 months ago
isolation_test.go Update modernize (#17471) 1 month ago
mocks_test.go chore: enable unused-receiver rule from revive 4 months ago
ooo_head.go Update golangci-lint (#17478) 1 month ago
ooo_head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 3 days ago
ooo_head_read_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 2 weeks ago
ooo_head_test.go Apply analyzer "modernize" to the whole codebase 4 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 chore: enable unused-receiver rule from revive 4 months ago
querier_bench_test.go Update modernize (#17471) 1 month ago
querier_test.go [CHORE] TSDB: Remove unused LabelValueFor function 3 days 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 refactor(appenderV2): add TSDB AppenderV2 implementation 6 days 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: