prometheus/tsdb
Julius Volz 0d7db907a9
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 (0) (push) Waiting to run
CI / Build Prometheus for common architectures (1) (push) Waiting to run
CI / Build Prometheus for common architectures (2) (push) Waiting to run
CI / Build Prometheus for all architectures (0) (push) Waiting to run
CI / Build Prometheus for all architectures (1) (push) Waiting to run
CI / Build Prometheus for all architectures (10) (push) Waiting to run
CI / Build Prometheus for all architectures (11) (push) Waiting to run
CI / Build Prometheus for all architectures (2) (push) Waiting to run
CI / Build Prometheus for all architectures (3) (push) Waiting to run
CI / Build Prometheus for all architectures (4) (push) Waiting to run
CI / Build Prometheus for all architectures (5) (push) Waiting to run
CI / Build Prometheus for all architectures (6) (push) Waiting to run
CI / Build Prometheus for all architectures (7) (push) Waiting to run
CI / Build Prometheus for all architectures (8) (push) Waiting to run
CI / Build Prometheus for all architectures (9) (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
Merge pull request #15785 from crystalstall/main
refactor: using slices.Contains to simplify the code
2025-01-13 10:31:41 +01:00
..
agent fix(test): do not run automatic WAL truncate during test 2024-12-10 17:30:46 +01:00
chunkenc tsdb/chunkenc: don't reuse custom value slices between histograms 2024-11-29 16:28:09 +11:00
chunks enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
docs Merge branch 'main' into cedwards/nhcb-wal-wbl 2025-01-02 12:50:19 +01:00
encoding Attempt for record type 2024-12-05 09:21:47 -08:00
errors
fileutil
goversion
index Expose ListPostings Length via Len() method (#15678) 2025-01-07 17:58:26 +01:00
record record_test.go: avoid captures, simply return test refs 2025-01-02 12:45:20 +01:00
testdata
tombstones chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
tsdbutil Merge branch 'main' into cedwards/nhcb-wal-wbl 2025-01-02 12:50:19 +01:00
wlog Fix issues raised by staticcheck (#15722) 2025-01-09 17:51:26 +01:00
.gitignore
block.go Signed-off-by: crystalstall <crystalruby@qq.com> 2025-01-11 00:41:51 +08:00
block_test.go feat: Allow customizing TSDB postings decoder (#13567) 2024-11-11 07:59:24 +01:00
blockwriter.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
blockwriter_test.go feat: Allow customizing TSDB postings decoder (#13567) 2024-11-11 07:59:24 +01:00
CHANGELOG.md
compact.go Merge pull request #14489 from harry671003/implement_metadata_limit 2024-11-19 17:32:16 +01:00
compact_test.go feat: Allow customizing TSDB postings decoder (#13567) 2024-11-11 07:59:24 +01:00
db.go tsdb: export CheckpointPrefix constant (#15636) 2024-12-29 17:54:45 +01:00
db_test.go Merge branch 'main' into cedwards/nhcb-wal-wbl 2025-01-02 12:50:19 +01:00
example_test.go
exemplar.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 2024-10-29 10:40:46 +01:00
exemplar_test.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 2024-10-29 10:40:46 +01:00
head.go [ENHANCEMENT] TSDB: Improve calculation of space used by labels (#13880) 2024-12-16 09:42:52 +00:00
head_append.go Use new record type only for NHCB 2024-12-06 13:46:20 -08:00
head_bench_test.go Revert "Fix MemPostings.Add and MemPostings.Get data race (#15141)" 2024-11-03 12:30:34 +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!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
head_read.go TSDB: Move merge of head postings into index 2024-12-20 19:22:30 +00:00
head_read_test.go
head_test.go Merge branch 'main' into cedwards/nhcb-wal-wbl 2025-01-02 12:50:19 +01:00
head_wal.go Use new record type only for NHCB 2024-12-06 13:46:20 -08:00
isolation.go
isolation_test.go
mocks_test.go
ooo_head.go
ooo_head_read.go [PERF] TSDB: Optimize inverse matching (#14144) 2024-11-19 15:49:01 +00:00
ooo_head_read_test.go Rename old histogram record type, use old names for new records 2024-12-05 09:21:47 -08:00
ooo_head_test.go fix TestOOOHeadChunkReader_Chunk on 32-bit 2024-12-16 10:45:07 -05:00
ooo_isolation.go
ooo_isolation_test.go
querier.go Fix bug in lbl!~".+" shortcut (#15684) 2024-12-17 17:34:24 +01:00
querier_bench_test.go feat: Allow customizing TSDB postings decoder (#13567) 2024-11-11 07:59:24 +01:00
querier_test.go Merge pull request #15548 from TinfoilSubmarine/fix/386-test-failures 2024-12-18 15:49:30 +01:00
README.md
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 Merge branch 'main' into cedwards/nhcb-wal-wbl 2025-01-02 12:50:19 +01: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: