prometheus/tsdb
Julien 2ad3a87170
Some checks failed
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests for 32-bit x86 (push) Has been cancelled
CI / Go tests for Prometheus upgrades and downgrades (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Compliance testing (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
govulncheck / Run govulncheck (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
Merge pull request #18914 from roidelapluie/roidelapluie/xor2-reverse-test
tsdb: test reverse cross-encoding WAL replay (ST to no-ST)
2026-06-12 15:18:46 +02:00
..
agent tsdb(wal): st-per-sample for histograms initial code and benchmarks (#18221) 2026-05-06 14:33:03 -04:00
chunkenc Merge pull request #18769 from roidelapluie/roidelapluie/xor2-reload 2026-06-12 13:50:11 +02:00
chunks Merge branch 'main' into st-main-sync2 2026-02-25 13:54:25 +00:00
compression tsdb: ST-in-WAL: Counter implementation and benchmarks (#17671) 2026-02-12 13:17:50 -05:00
docs feat(chunkenc): replace xoroptst chunk encoding with xor2 2026-03-06 14:35:06 +01:00
encoding Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
fileutil Support the aix/ppc64 compilation target 2026-03-18 17:07:44 -07:00
goversion Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
index tsdb: Optimize LabelValues for sparse intersections (Fixes #14551) 2026-02-17 13:35:31 -08:00
record Update tsdb/record/record.go 2026-06-01 11:13:00 +02: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 tsdb/wlog: Remove any temproary checkpoints when creating a Checkpoint (#17598) 2026-02-17 09:23:54 +01:00
wlog tsdb(wal): st-per-sample for histograms initial code and benchmarks (#18221) 2026-05-06 14:33:03 -04:00
.gitignore Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
block.go Merge pull request #18180 from atilsensalduz/bugfix/tsdb-writeMetaFile-fd-leak 2026-02-24 12:25:00 +00:00
block_test.go auto update head sample use in tests 2026-01-14 13:15:13 +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 tsdb: count EncXOR2 chunks as float samples; fix snapshot encoding (#18739) 2026-05-20 15:20:37 +00:00
compact_test.go tsdb: Rewrite TestCancelCompactions to run faster (#18632) 2026-05-21 09:06:10 +02:00
db.go Merge pull request #18769 from roidelapluie/roidelapluie/xor2-reload 2026-06-12 13:50:11 +02:00
db_append_v2_test.go tsdb: set FloatChunkEncoding in Options literal in compact test 2026-06-12 13:59:57 +02:00
db_test.go Merge pull request #18769 from roidelapluie/roidelapluie/xor2-reload 2026-06-12 13:50:11 +02:00
example_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
exemplar.go tsdb: fix rare case of OOO exemplar insertion pointing to the exemplar being deleted (#17865) 2026-01-15 08:49:37 +01:00
exemplar_test.go chore: enable staticcheck linter and update golangci-lint to 2.10.1 2026-02-18 15:58:16 +00:00
head.go tsdb: add chunk_encoding config field for runtime encoding selection 2026-06-11 16:45:30 +02:00
head_append.go Merge pull request #18769 from roidelapluie/roidelapluie/xor2-reload 2026-06-12 13:50:11 +02:00
head_append_v2.go tsdb: add chunk_encoding config field for runtime encoding selection 2026-06-11 16:45:30 +02:00
head_append_v2_test.go tsdb: add chunk_encoding config field for runtime encoding selection 2026-06-11 16:45:30 +02:00
head_bench_test.go tsdb: Skip clean series during periodic head chunk mmap (#18272) 2026-04-14 17:11:35 +02: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 unnecessary method and rename 2026-06-01 10:19:06 +02:00
head_read_test.go tsdb: cache collected head chunks on ChunkReader for O(1) lookup (#18302) 2026-04-17 18:34:41 +02:00
head_test.go tsdb: test reverse cross-encoding WAL replay (ST to no-ST) 2026-06-12 14:54:42 +02:00
head_wal.go tsdb: add chunk_encoding config field for runtime encoding selection 2026-06-11 16:45:30 +02:00
isolation.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
isolation_test.go chore(lint): enable wg.Go 2026-02-17 15:21:51 +01:00
label_values_bench_test.go tsdb: Optimize LabelValues for sparse intersections (Fixes #14551) 2026-02-17 13:35:31 -08:00
mocks_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
ooo_head.go tsdb/chunkenc: take a generic Appender as the prev parameter (#18857) 2026-06-09 10:41:43 +02:00
ooo_head_read.go tsdb: add chunk_encoding config field for runtime encoding selection 2026-06-11 16:45:30 +02:00
ooo_head_read_test.go storage: introduce search interface with scoring and filtering 2026-04-23 15:05:48 +02:00
ooo_head_test.go Add xor2-encoding feature flag 2026-03-12 11:07:00 -07: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 tsdb: Add TODOs for ST-in-WAL work (#18773) 2026-05-22 13:37:35 -04:00
querier_bench_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
querier_test.go tsdb: add chunk_encoding config field for runtime encoding selection 2026-06-11 16:45:30 +02:00
README.md Fixed broken link in tsdb README.md 2022-10-07 16:20:20 +00:00
repair.go tsdb: Migrate multi-errors to errors package (#17768) 2026-02-04 10:41:57 +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: