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
Bryan Boreham 5d8f0ef0c2
Merge pull request #14721 from bboreham/exp-grow-postings
2 years ago
..
agent chore: Fix typos (#14868) 2 years ago
chunkenc lint 2 years ago
chunks chore: Fix typos (#14868) 2 years ago
docs Fix language in docs and comments (#14041) 2 years ago
encoding Neater string vs byte-slice conversions (#14425) 2 years 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 Merge pull request #14721 from bboreham/exp-grow-postings 2 years ago
record chore: Fix typos (#14868) 2 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 6 years ago
tombstones Update tombstones.go 3 years ago
tsdbutil Ignore stale histograms for counter reset detection 2 years ago
wlog fix(wlog/watcher_test.go): make TestRun_AvoidNotifyWhenBehind more resilient 2 years ago
.gitignore Moving tsdb into its own subdirectory 7 years ago
CHANGELOG.md Rename default branch to main 5 years ago
README.md Fixed broken link in tsdb README.md 4 years ago
block.go TSDB: Review feedback 2 years ago
block_test.go fix(bstream/writeByte): ensure it appends only one byte (#14854) 2 years ago
blockwriter.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 2 years ago
blockwriter_test.go Add a chunk size limit in bytes (#12054) 3 years ago
compact.go TSDB: Change block populator to accept postings index function (#14213) 2 years ago
compact_test.go chore: Fix typos (#14868) 2 years ago
db.go [BUGFIX] TSDB: Only query chunks up to truncation time (#14948) 2 years ago
db_test.go tsdb: Add support for ingestion of out-of-order native histogram samples (#14546) 2 years ago
example_test.go Add context argument to Querier.Select (#12660) 3 years ago
exemplar.go chore: Fix typos (#14868) 2 years ago
exemplar_test.go [Test] TSDB: BenchmarkResizeExemplar multiple per series 2 years ago
head.go tsdb: Add support for ingestion of out-of-order native histogram samples (#14546) 2 years ago
head_append.go tsdb: Add support for ingestion of out-of-order native histogram samples (#14546) 2 years ago
head_bench_test.go tsdb: use Go standard errors 2 years ago
head_dedupelabels.go tsdb: reset symbol table for exemplars periodically 2 years ago
head_other.go lint: Revamp our linting rules, mostly around doc comments 2 years ago
head_read.go TSDB: streamline reading of overlapping head chunks 2 years ago
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 2 years ago
head_test.go Merge pull request #14874 from krajorama/fix-panic-in-ooo-query2 2 years ago
head_wal.go tsdb: Add support for ingestion of out-of-order native histogram samples (#14546) 2 years ago
isolation.go tsdb: create isolation transaction slice on demand 3 years ago
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 4 years ago
mocks_test.go tsdb: use Go standard errors 2 years ago
ooo_head.go TSDB: Remove code for querying OOO-head only 2 years ago
ooo_head_read.go [BUGFIX] TSDB: Only query chunks up to truncation time (#14948) 2 years ago
ooo_head_read_test.go [BUGFIX] TSDB: Only query chunks up to truncation time (#14948) 2 years ago
ooo_head_test.go tsdb: Add support for ingestion of out-of-order native histogram samples (#14546) 2 years 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 Fix: optimize .* regexp performance 2 years ago
querier_bench_test.go TSDB: Simplify benchmark regexps 2 years ago
querier_test.go [BUGFIX] TSDB: Only query chunks up to truncation time (#14948) 2 years ago
repair.go tsdb: use Go standard errors 2 years ago
repair_test.go tsdb tests: use go-cmp instead of DeepEquals 2 years ago
testutil.go tsdb: Add support for ingestion of out-of-order native histogram samples (#14546) 2 years ago
tsdbblockutil.go Optimize histogram iterators (#13340) 2 years 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: