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
Bartlomiej Plotka 1c0537dc02
Merge pull request #17677 from prometheus/bwplotka/a2-agent
6 months ago
..
agent addressed comment 6 months ago
chunkenc Add histogram validation in remote-read and during reducing resolution (#17561) 7 months ago
chunks tsdb: guard chunk length overflow in head chunk reader (#17533) 7 months ago
docs docs: Fix chunk format documentation for `varint` encoding 10 months ago
encoding Attempt for record type 2 years ago
errors tsdb/errors.MultiError: support errors.As (#16544) 1 year ago
fileutil chore(direct_io): fix constructor's name (#17371) 8 months ago
goversion remove obsolete build tag 2 years ago
index [CHORE] TSDB: Remove unused LabelValueFor function 6 months ago
record Add histogram validation in remote-read and during reducing resolution (#17561) 7 months ago
testdata
tombstones docs: minor improvement for docs 7 months ago
tsdbutil Apply analyzer "modernize" to the whole codebase 9 months ago
wlog Update golangci-lint (#17478) 7 months ago
.gitignore
CHANGELOG.md
README.md
block.go [CHORE] TSDB: Remove unused LabelValueFor function 6 months ago
block_test.go Update modernize (#17471) 7 months ago
blockwriter.go refactor(appenderV2): port TSDB non-head tests 6 months ago
blockwriter_test.go refactor(appenderV2): port TSDB non-head tests 6 months ago
compact.go feat: Add flag that blocks lvl 1 compactions until upload is confirmed in an external JSON file (#17435) 6 months ago
compact_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 6 months ago
db.go TSDB: Option to configure TSDB Block Reload Interval (#16728) 6 months ago
db_append_v2_test.go refactor(appenderV2): port TSDB non-head tests 6 months ago
db_test.go TSDB: Option to configure TSDB Block Reload Interval (#16728) 6 months ago
example_test.go Add context argument to Querier.Select (#12660) 3 years ago
exemplar.go Apply analyzer "modernize" to the whole codebase 9 months ago
exemplar_test.go Update modernize (#17471) 7 months ago
head.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 months ago
head_append.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 months ago
head_append_v2.go Merge pull request #17677 from prometheus/bwplotka/a2-agent 6 months ago
head_append_v2_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 months ago
head_bench_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 months ago
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 2 years ago
head_other.go chore: enable unused-receiver rule from revive 10 months ago
head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 6 months ago
head_read_test.go Apply analyzer "modernize" to the whole codebase 9 months ago
head_test.go Merge pull request #17629 from prometheus/bwplotka/a2-tsdb 6 months ago
head_wal.go Merge pull request #17351 from bboreham/simplify-precreate 7 months ago
isolation.go Apply analyzer "modernize" to the whole codebase 9 months ago
isolation_test.go Update modernize (#17471) 7 months ago
mocks_test.go chore: enable unused-receiver rule from revive 10 months ago
ooo_head.go Update golangci-lint (#17478) 7 months ago
ooo_head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 6 months ago
ooo_head_read_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 6 months ago
ooo_head_test.go Apply analyzer "modernize" to the whole codebase 9 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) 3 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) 3 years ago
querier.go chore: enable unused-receiver rule from revive 10 months ago
querier_bench_test.go Update modernize (#17471) 7 months ago
querier_test.go [CHORE] TSDB: Remove unused LabelValueFor function 6 months ago
repair.go chore!: adopt log/slog, remove go-kit/log 2 years ago
repair_test.go feat: Allow customizing TSDB postings decoder (#13567) 2 years ago
testutil.go refactor(appenderV2): add TSDB AppenderV2 implementation 6 months ago
tsdbblockutil.go enable errorf rule from perfsprint linter 2 years 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: