prometheus/tsdb
Ayoub Mrini e04913aea2
Merge pull request #15778 from machine424/reuse-pools
feat(tsdb/(head|agent)): reuse pools across segments to reduce garbage during WL replay
2025-02-17 12:48:17 +01:00
..
agent Merge pull request #15778 from machine424/reuse-pools 2025-02-17 12:48:17 +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 chore: fix function name and struct name in comment (#15827) 2025-01-17 21:26:08 +01:00
testdata
tombstones chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
tsdbutil fix: os.MkdirTemp with t.TempDir (#15860) 2025-01-31 14:32:20 +00: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 tsdb tests: avoid capture-by-reference in goroutines 2025-01-27 19:59:43 +00:00
db.go Update comments for methods that require a lock 2025-01-09 17:20:10 +00:00
db_test.go Merge pull request #12920 from prymitive/compactLock 2025-02-10 17:35:09 +00: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 feat(tsdb/(head|agent)): reuse pools across segments to avoid generating garbage during WL replay 2025-02-10 22:40:24 +01: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 headIndexReader: reduce debug logging (#15993) 2025-02-07 15:46:55 +00:00
head_read_test.go
head_test.go feat(tsdb/(head|agent)): reuse pools across segments to avoid generating garbage during WL replay 2025-02-10 22:40:24 +01:00
head_wal.go feat(tsdb/(head|agent)): reuse pools across segments to avoid generating garbage during WL replay 2025-02-10 22:40:24 +01:00
isolation.go chore: enable early-return from revive 2025-02-10 22:08:43 +01:00
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 TSDB benchmarks: Commit periodically to speed up init 2024-12-30 17:42:56 +00:00
querier_test.go tsdb tests: restrict some 'defer' operations 2025-01-27 19:59:43 +00: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: