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 2a2e2ed28b
chore(tsdb): set the wbl to nil as well in DBReadOnly.loadDataAsQueryable
8 months ago
..
agent tsdb tests: make work with labels SymbolTable 9 months ago
chunkenc Optimize histogram iterators (#13340) 10 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
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 fix function and struct name 9 months ago
record tsdb tests: make work with labels SymbolTable 9 months ago
testdata
tombstones
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
CHANGELOG.md
README.md
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 TSDB: move function only used in tests 8 months ago
blockwriter.go tsdb: use Go standard errors 12 months ago
blockwriter_test.go
compact.go Add native histograms to latency/duration metrics 9 months ago
compact_test.go Optimize histogram iterators (#13340) 10 months ago
db.go chore(tsdb): set the wbl to nil as well in DBReadOnly.loadDataAsQueryable 8 months ago
db_test.go Merge pull request #13764 from bboreham/remove-deprecated-wal 8 months ago
example_test.go
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 Add native histograms to latency/duration metrics 9 months ago
head_append.go tsdb: zero out Labels and memSeries pointers in pool (#13712) 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
isolation_test.go
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
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

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: