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
Jarkko Pöyry e4b6d443fc
tsdb: fix handle leak on mmap failure on MS Windows (#17310)
4 weeks ago
..
agent addressed comment 1 month ago
chunkenc Add histogram validation in remote-read and during reducing resolution (#17561) 2 months ago
chunks tsdb: guard chunk length overflow in head chunk reader (#17533) 2 months ago
docs docs: Fix chunk format documentation for `varint` encoding 5 months ago
encoding Attempt for record type 1 year ago
errors tsdb/errors.MultiError: support errors.As (#16544) 9 months ago
fileutil tsdb: fix handle leak on mmap failure on MS Windows (#17310) 4 weeks ago
goversion remove obsolete build tag 2 years ago
index [CHORE] TSDB: Remove unused LabelValueFor function 1 month ago
record Add histogram validation in remote-read and during reducing resolution (#17561) 2 months ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 6 years ago
tombstones docs: minor improvement for docs 3 months ago
tsdbutil Apply analyzer "modernize" to the whole codebase 5 months ago
wlog Update golangci-lint (#17478) 2 months ago
.gitignore Moving tsdb into its own subdirectory 7 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 1 month ago
block_test.go Update modernize (#17471) 3 months ago
blockwriter.go refactor(appenderV2): port TSDB non-head tests 1 month ago
blockwriter_test.go refactor(appenderV2): port TSDB non-head tests 1 month ago
compact.go feat: Add flag that blocks lvl 1 compactions until upload is confirmed in an external JSON file (#17435) 2 months ago
compact_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 2 months ago
db.go TSDB: Option to configure TSDB Block Reload Interval (#16728) 1 month ago
db_append_v2_test.go refactor(appenderV2): port TSDB non-head tests 1 month ago
db_test.go TSDB: Option to configure TSDB Block Reload Interval (#16728) 1 month ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go Apply analyzer "modernize" to the whole codebase 5 months ago
exemplar_test.go Update modernize (#17471) 3 months ago
head.go refactor(appenderV2): add TSDB AppenderV2 implementation 1 month ago
head_append.go refactor(appenderV2): add TSDB AppenderV2 implementation 1 month ago
head_append_v2.go Merge pull request #17677 from prometheus/bwplotka/a2-agent 1 month ago
head_append_v2_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 1 month ago
head_bench_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 1 month 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 6 months ago
head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 1 month ago
head_read_test.go Apply analyzer "modernize" to the whole codebase 5 months ago
head_test.go Merge pull request #17629 from prometheus/bwplotka/a2-tsdb 1 month ago
head_wal.go Merge pull request #17351 from bboreham/simplify-precreate 2 months ago
isolation.go Apply analyzer "modernize" to the whole codebase 5 months ago
isolation_test.go Update modernize (#17471) 3 months ago
mocks_test.go chore: enable unused-receiver rule from revive 6 months ago
ooo_head.go Update golangci-lint (#17478) 2 months ago
ooo_head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 1 month ago
ooo_head_read_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 2 months ago
ooo_head_test.go Apply analyzer "modernize" to the whole codebase 5 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 6 months ago
querier_bench_test.go Update modernize (#17471) 3 months ago
querier_test.go [CHORE] TSDB: Remove unused LabelValueFor function 1 month 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 1 month 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: