prometheus/tsdb
Bartlomiej Plotka 1c0537dc02
Merge pull request #17677 from prometheus/bwplotka/a2-agent
refactor(tsdb/agent)[PART3]: add AppenderV2 support to agent
2025-12-17 14:27:51 +00:00
..
agent addressed comment 2025-12-17 05:47:28 +00:00
chunkenc Add histogram validation in remote-read and during reducing resolution (#17561) 2025-11-21 00:22:24 +01:00
chunks tsdb: guard chunk length overflow in head chunk reader (#17533) 2025-11-15 21:09:00 +01:00
docs docs: Fix chunk format documentation for varint encoding 2025-08-15 10:56:21 +02:00
encoding Attempt for record type 2024-12-05 09:21:47 -08:00
errors tsdb/errors.MultiError: support errors.As (#16544) 2025-05-06 13:45:16 +00:00
fileutil chore(direct_io): fix constructor's name (#17371) 2025-10-23 11:35:16 +02:00
goversion remove obsolete build tag 2024-01-17 22:26:32 +08:00
index [CHORE] TSDB: Remove unused LabelValueFor function 2025-12-12 13:44:13 +00:00
record Add histogram validation in remote-read and during reducing resolution (#17561) 2025-11-21 00:22:24 +01:00
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
tombstones docs: minor improvement for docs 2025-10-29 14:42:14 +08:00
tsdbutil Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
wlog Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
block.go [CHORE] TSDB: Remove unused LabelValueFor function 2025-12-12 13:44:13 +00:00
block_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
blockwriter.go refactor(appenderV2): port TSDB non-head tests 2025-12-09 10:39:45 +00:00
blockwriter_test.go refactor(appenderV2): port TSDB non-head tests 2025-12-09 10:39:45 +00:00
CHANGELOG.md Rename default branch to main 2021-02-22 20:28:02 +01:00
compact.go feat: Add flag that blocks lvl 1 compactions until upload is confirmed in an external JSON file (#17435) 2025-12-02 10:39:45 +00:00
compact_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 2025-12-03 07:55:48 +00:00
db.go TSDB: Option to configure TSDB Block Reload Interval (#16728) 2025-12-15 09:31:17 +01:00
db_append_v2_test.go refactor(appenderV2): port TSDB non-head tests 2025-12-09 10:39:45 +00:00
db_test.go TSDB: Option to configure TSDB Block Reload Interval (#16728) 2025-12-15 09:31:17 +01:00
example_test.go Add context argument to Querier.Select (#12660) 2023-09-12 12:37:38 +02:00
exemplar.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
exemplar_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
head.go refactor(appenderV2): add TSDB AppenderV2 implementation 2025-12-09 10:39:43 +00:00
head_append.go refactor(appenderV2): add TSDB AppenderV2 implementation 2025-12-09 10:39:43 +00:00
head_append_v2.go Merge pull request #17677 from prometheus/bwplotka/a2-agent 2025-12-17 14:27:51 +00:00
head_append_v2_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 2025-12-09 10:39:43 +00:00
head_bench_test.go refactor(appenderV2): add TSDB AppenderV2 implementation 2025-12-09 10:39:43 +00:00
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
head_other.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 2025-12-12 13:44:13 +00:00
head_read_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
head_test.go Merge pull request #17629 from prometheus/bwplotka/a2-tsdb 2025-12-09 11:41:00 +00:00
head_wal.go Merge pull request #17351 from bboreham/simplify-precreate 2025-11-07 14:39:51 +01:00
isolation.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
isolation_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
mocks_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
ooo_head.go Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
ooo_head_read.go [CHORE] TSDB: Remove unused LabelValueFor function 2025-12-12 13:44:13 +00:00
ooo_head_read_test.go refactor(tsdb): use one test newTestDB constructor (#17638) 2025-12-03 07:55:48 +00:00
ooo_head_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
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) 2023-11-24 12:38:38 +01:00
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) 2023-11-24 12:38:38 +01:00
querier.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
querier_bench_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
querier_test.go [CHORE] TSDB: Remove unused LabelValueFor function 2025-12-12 13:44:13 +00:00
README.md Fixed broken link in tsdb README.md 2022-10-07 16:20:20 +00:00
repair.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
repair_test.go feat: Allow customizing TSDB postings decoder (#13567) 2024-11-11 07:59:24 +01:00
testutil.go refactor(appenderV2): add TSDB AppenderV2 implementation 2025-12-09 10:39:43 +00:00
tsdbblockutil.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00

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: