prometheus/tsdb
Ben Kochie 72a23934ad
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Refactor various tsdb sub-packages (#17847)
Migrate various tsdb related packages from `tsdb/errors` to the standard
library `errors` package.

Signed-off-by: SuperQ <superq@gmail.com>
2026-01-13 13:38:58 +00:00
..
agent Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
chunkenc Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
chunks Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
docs docs: Fix chunk format documentation for varint encoding 2025-08-15 10:56:21 +02:00
encoding Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
errors Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
fileutil Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
goversion Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
index Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
record Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
tombstones Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
tsdbutil Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
wlog Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
block.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
block_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
blockwriter.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
blockwriter_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
CHANGELOG.md Rename default branch to main 2021-02-22 20:28:02 +01:00
compact.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
compact_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
db.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +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 Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
example_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
exemplar.go tsdb: add support for OOO exemplars in CircularExemplarStorage (#17469) 2026-01-07 13:25:50 +01:00
exemplar_test.go tsdb: add support for OOO exemplars in CircularExemplarStorage (#17469) 2026-01-07 13:25:50 +01:00
head.go tsdb: add support for OOO exemplars in CircularExemplarStorage (#17469) 2026-01-07 13:25:50 +01:00
head_append.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01: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 Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
head_dedupelabels.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
head_other.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
head_read.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
head_read_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
head_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
head_wal.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
isolation.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
isolation_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
mocks_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
ooo_head.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
ooo_head_read.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
ooo_head_read_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
ooo_head_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
ooo_isolation.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
ooo_isolation_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
querier.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
querier_bench_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
querier_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
README.md Fixed broken link in tsdb README.md 2022-10-07 16:20:20 +00:00
repair.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
repair_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
testutil.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
tsdbblockutil.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +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: