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
György Krajcsovits 183bbc39a2 Make requesting merge with OOO head explicit in chunk.Meta 1 year ago
..
agent [PRW 2.0] Merging `remote-write-2.0` feature branch to main (PRW 2.0 support + metadata in WAL) (#14395) 2 years ago
chunkenc Fix corrupting spans via iterator sharing 1 year ago
chunks Make requesting merge with OOO head explicit in chunk.Meta 1 year ago
docs Fix language in docs and comments (#14041) 2 years ago
encoding lint: Revamp our linting rules, mostly around doc comments 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 lint: Revamp our linting rules, mostly around doc comments 1 year ago
record Fix a couple of comments 2 years ago
testdata
tombstones Update tombstones.go 2 years ago
tsdbutil Ignore stale histograms for counter reset detection 1 year ago
wlog lint: Revamp our linting rules, mostly around doc comments 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 TSDB: Review feedback 1 year ago
block_test.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 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) 2 years ago
compact.go TSDB: Change block populator to accept postings index function (#14213) 2 years ago
compact_test.go feat: allow to delay head compaction start time helping Prometheus instances to 1 year ago
db.go lint: Revamp our linting rules, mostly around doc comments 1 year ago
db_test.go New cases in Test_ChunkQuerier_OOOQuery and Test_Querier_OOOQuery 1 year ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go [ENHANCEMENT] TSDB: Save map lookup on validation 2 years ago
exemplar_test.go [Test] TSDB: BenchmarkResizeExemplar multiple per series 2 years ago
head.go Revert the option regardless of error 1 year ago
head_append.go Upgrade golangci-lint to v1.60.1 1 year 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 1 year ago
head_read.go [BUGFIX] TSDB: Fix query overlapping in-order and ooo head (#14693) 1 year ago
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 2 years ago
head_test.go Upgrade golangci-lint to v1.60.1 1 year ago
head_wal.go TSDB: Never go over maximum number of OOO chunks 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 Make requesting merge with OOO head explicit in chunk.Meta 1 year ago
ooo_head_read_test.go Make requesting merge with OOO head explicit in chunk.Meta 1 year ago
ooo_head_test.go Fix ToEncodedChunks minT for recoded chunks 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 tsdb: Fix ValNone typo in comment 1 year ago
querier_bench_test.go TSDB: Review feedback 1 year ago
querier_test.go TSDB tests: Fix up BenchmarkQueries 1 year 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 Testutil refactoring 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: