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.
 
 
 
 
 
Arthur Silva Sens b5b5e1e5ae
Merge pull request #13919 from GiedriusS/dont_forget_to_unregister
7 months ago
..
agent tsdb tests: make work with labels SymbolTable 9 months ago
chunkenc golangci-lint: enable whitespace linter (#13905) 8 months ago
chunks Remove unused function tsdb/chunks.PopulatedChunk (#13763) 8 months ago
docs Enforce chunks ordering when writing index. (#8085) 10 months ago
encoding tsdb/encoding: use Go standard errors package 1 year ago
errors Enable default revive rules (#13068) 12 months ago
fileutil tests: remove err from message when testify prints it already 10 months ago
goversion remove obsolete build tag 10 months ago
index golangci-lint: enable whitespace linter (#13905) 8 months ago
record tsdb tests: make work with labels SymbolTable 9 months ago
testdata
tombstones Update tombstones.go 1 year ago
tsdbutil Revert "Adding small test update for temp dir using t.TempDir (#13293)" 11 months ago
wlog Merge pull request #13919 from GiedriusS/dont_forget_to_unregister 7 months ago
.gitignore
CHANGELOG.md
README.md Fixed broken link in tsdb README.md 2 years ago
block.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
block_test.go golangci-lint: enable whitespace linter (#13905) 8 months ago
blockwriter.go tsdb: use Go standard errors 12 months ago
blockwriter_test.go Add a chunk size limit in bytes (#12054) 1 year ago
compact.go Write out of order hint when initially creating meta file (#13894) 8 months ago
compact_test.go Optimize histogram iterators (#13340) 10 months ago
db.go golangci-lint: enable whitespace linter (#13905) 8 months ago
db_test.go Write out of order hint when initially creating meta file (#13894) 8 months ago
example_test.go Add context argument to Querier.Select (#12660) 1 year ago
exemplar.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
exemplar_test.go Standardise exemplar label as "trace_id" 9 months ago
head.go TSDB: Don't rely on integer overflow in head compaction check (#13755) 8 months ago
head_append.go golangci-lint: enable whitespace linter (#13905) 8 months ago
head_bench_test.go tsdb: use Go standard errors 12 months ago
head_read.go [refactor] moving mergedOOOChunks Iterator (#13881) 8 months ago
head_read_test.go Add ShardedPostings() support to TSDB (#10421) 10 months ago
head_test.go golangci-lint: enable whitespace linter (#13905) 8 months ago
head_wal.go golangci-lint: enable whitespace linter (#13905) 8 months ago
isolation.go tsdb: create isolation transaction slice on demand 1 year ago
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 2 years ago
mocks_test.go tsdb: use Go standard errors 12 months ago
ooo_head.go Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115) 1 year ago
ooo_head_read.go [refactor] moving mergedOOOChunks Iterator (#13881) 8 months ago
ooo_head_read_test.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
ooo_head_test.go ci(lint): enable godot; append dot at the end of comments 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) 1 year 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) 1 year ago
querier.go golangci-lint: enable whitespace linter (#13905) 8 months ago
querier_bench_test.go Optimize label values with matchers by taking shortcuts (#13426) 10 months ago
querier_test.go Merge remote-tracking branch 'origin/main' into pr/13461 8 months ago
repair.go tsdb: use Go standard errors 12 months ago
repair_test.go tsdb tests: use go-cmp instead of DeepEquals 10 months ago
tsdbblockutil.go Optimize histogram iterators (#13340) 10 months 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: