The Prometheus monitoring system and time series database.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
prometheus/tsdb
bwplotka eeef17ea0a docs: Added native histogram WAL record documentation. 1 year ago
..
agent Agent: allow for ingestion of CT samples (#15124) 1 year ago
chunkenc tsdb/chunkenc: don't reuse custom value slices between histograms 1 year ago
chunks enable errorf rule from perfsprint linter 1 year ago
docs docs: Added native histogram WAL record documentation. 1 year ago
encoding Neater string vs byte-slice conversions (#14425) 1 year ago
errors Enable default revive rules (#13068) 2 years ago
fileutil tests: remove err from message when testify prints it already 2 years ago
goversion remove obsolete build tag 2 years ago
index MemPostings: keep a map of label values slices (#15426) 1 year ago
record chore: Fix typos (#14868) 1 year ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones chore!: adopt log/slog, remove go-kit/log 1 year ago
tsdbutil chore!: adopt log/slog, remove go-kit/log 1 year ago
wlog [TESTS] Remote-Write: Fix BenchmarkStartup 1 year ago
.gitignore
CHANGELOG.md Rename default branch to main 5 years ago
README.md Fixed broken link in tsdb README.md 3 years ago
block.go [PERF] TSDB: Optimize inverse matching (#14144) 1 year ago
block_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
blockwriter.go chore!: adopt log/slog, remove go-kit/log 1 year ago
blockwriter_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
compact.go Merge pull request #14489 from harry671003/implement_metadata_limit 1 year ago
compact_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
db.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
db_test.go Always return unknown hint for first sample in non-gauge histogram chunk (#15343) 1 year ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 1 year ago
exemplar_test.go tsdb.CircularExemplarStorage: Avoid racing (#15231) 1 year ago
head.go Agent: allow for ingestion of CT samples (#15124) 1 year ago
head_append.go [BUGFIX] TSDB: Fix race on stale values in headAppender (#15322) 1 year ago
head_bench_test.go Revert "Fix `MemPostings.Add` and `MemPostings.Get` data race (#15141)" 1 year ago
head_dedupelabels.go chore!: adopt log/slog, remove go-kit/log 1 year ago
head_other.go chore!: adopt log/slog, remove go-kit/log 1 year ago
head_read.go [PERF] TSDB: Optimize inverse matching (#14144) 1 year ago
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 2 years ago
head_test.go Always return unknown hint for first sample in non-gauge histogram chunk (#15343) 1 year ago
head_wal.go [BUGFIX] TSDB: Apply fixes from loadWAL to loadWBL 1 year ago
isolation.go tsdb: create isolation transaction slice on demand 2 years ago
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 3 years ago
mocks_test.go tsdb: use Go standard errors 2 years ago
ooo_head.go TSDB: Remove code for querying OOO-head only 1 year ago
ooo_head_read.go [PERF] TSDB: Optimize inverse matching (#14144) 1 year ago
ooo_head_read_test.go enable errorf rule from perfsprint linter 1 year ago
ooo_head_test.go Always return unknown hint for first sample in non-gauge histogram chunk (#15343) 1 year ago
ooo_isolation.go Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115) 2 years ago
ooo_isolation_test.go Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115) 2 years ago
querier.go Optimize l=~".+" matcher (#15474) 1 year ago
querier_bench_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
querier_test.go Merge pull request #14489 from harry671003/implement_metadata_limit 1 year ago
repair.go chore!: adopt log/slog, remove go-kit/log 1 year ago
repair_test.go feat: Allow customizing TSDB postings decoder (#13567) 1 year ago
testutil.go Always return unknown hint for first sample in non-gauge histogram chunk (#15343) 1 year ago
tsdbblockutil.go enable errorf rule from perfsprint linter 1 year ago

README.md

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: