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.
 
 
 
 
 
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
..
agent tsdb tests: make work with labels SymbolTable 9 months ago
chunkenc Optimize histogram iterators (#13340) 10 months ago
chunks Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 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 Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
record tsdb tests: make work with labels SymbolTable 9 months ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 4 years ago
tombstones Update tombstones.go 1 year ago
tsdbutil Revert "Adding small test update for temp dir using t.TempDir (#13293)" 11 months ago
wlog Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
.gitignore Moving tsdb into its own subdirectory 5 years ago
CHANGELOG.md Rename default branch to main 4 years ago
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 TestHeadLabelValuesWithMatchers: Add test case (#13414) 10 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 Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
compact_test.go Optimize histogram iterators (#13340) 10 months ago
db.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
db_test.go tsdb tests: make work with labels SymbolTable 9 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: create SymbolTables for labels as required 9 months ago
head_append.go Move histogramsAppended to be more consistent 9 months ago
head_bench_test.go tsdb: use Go standard errors 12 months ago
head_read.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
head_read_test.go Add ShardedPostings() support to TSDB (#10421) 10 months ago
head_test.go tsdb tests: make work with labels SymbolTable 9 months ago
head_wal.go tsdb: create SymbolTables for labels as required 9 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 Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 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 Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
querier_bench_test.go Optimize label values with matchers by taking shortcuts (#13426) 10 months ago
querier_test.go tests: remove err from message when testify prints it already 10 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
wal.go tsdb: create SymbolTables for labels as required 9 months ago
wal_test.go tsdb tests: make work with labels SymbolTable 9 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: