prometheus/tsdb
György Krajcsovits 70bc06718d
feat(tsdb): new AppenderV2 and AtST interface for chunks
No implementation yet. Just to test the shape of the interface.
AtST is implemented for trivial cases, anything else is hard coded
to return 0.

Ref: https://github.com/prometheus/prometheus/issues/17791

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2026-01-14 13:15:09 +01:00
..
agent Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
chunkenc feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +01:00
chunks feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +01: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 feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +01:00
head_append.go feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +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 feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +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 feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +01:00
querier_bench_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
querier_test.go feat(tsdb): new AppenderV2 and AtST interface for chunks 2026-01-14 13:15:09 +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: