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
Merrick Clay 70e41fc5ac improve incorrect doc comment 3 years ago
..
agent tsdb: drop deleted series from the WAL sooner (#12297) 3 years ago
chunkenc Fix HistogramAppender.Appendable array out of bound error 3 years ago
chunks Fix race condition in ChunkDiskMapper.Truncate() (#12500) 3 years ago
docs Merge branch 'main' into sparsehistogram 3 years ago
encoding Merge 'main' into sparsehistogram 3 years ago
errors Fix context.Canceled wrapping in compaction 3 years ago
fileutil Update go to 1.19, set min version to 1.18 (#11279) 3 years ago
goversion lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
index Fix infinite loop in index Writer when a series contains duplicated label names 3 years ago
record tsdb: Support native histograms in snapshot on shutdown (#12258) 3 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones Copy tombstone intervals to avoid race (#12245) 3 years ago
tsdbutil Fix populateWithDelChunkSeriesIterator and gauge histograms (#12330) 3 years ago
wlog [tsdb] re-implement WAL watcher to read via a "notification" channel (#11949) 3 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 3 years ago
block.go tsdb: sort values for Postings only when required 3 years ago
block_test.go enable gocritic, unconvert and unused linters 3 years ago
blockwriter.go Merge 'main' into sparsehistogram 3 years ago
blockwriter_test.go Name float values as "floats", not as "values" 3 years ago
compact.go Merge branch 'main' into linter/nilerr 3 years ago
compact_test.go Merge branch 'main' into linter/nilerr 3 years ago
db.go Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031) 3 years ago
db_test.go Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031) 3 years ago
example_test.go storage: allow re-use of iterators 3 years ago
exemplar.go ci(lint): enable predeclared linter 3 years ago
exemplar_test.go tsdb: in tests use labels.FromStrings 3 years ago
head.go improve incorrect doc comment 3 years ago
head_append.go Also pass chunkOpts into appendPreprocessor 3 years ago
head_bench_test.go Add out-of-order sample support to the TSDB (#11075) 3 years ago
head_read.go Fix populateWithDelChunkSeriesIterator and gauge histograms (#12330) 3 years ago
head_read_test.go Fix merge conflicts 3 years ago
head_test.go tsdb: Support native histograms in snapshot on shutdown (#12258) 3 years ago
head_wal.go tsdb: Support native histograms in snapshot on shutdown (#12258) 3 years ago
isolation.go ci(lint): enable predeclared linter 3 years ago
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 3 years ago
mocks_test.go Move packages out of deprecated pkg directory 4 years ago
ooo_head.go Name float values as "floats", not as "values" 3 years ago
ooo_head_read.go style: Replace `else if` cascades with `switch` 3 years ago
ooo_head_read_test.go Name float values as "floats", not as "values" 3 years ago
ooo_head_test.go Name float values as "floats", not as "values" 3 years ago
querier.go Apply relevant label matchers in LabelValues before fetching extra postings (#12274) 3 years ago
querier_bench_test.go Apply relevant label matchers in LabelValues before fetching extra postings (#12274) 3 years ago
querier_test.go Opmizing Group Regex (#12375) 3 years ago
repair.go refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
repair_test.go Simplify IndexReader.Series interface 3 years ago
tsdbblockutil.go Support FloatHistogram in TSDB (#11522) 3 years ago
wal.go Merge branch 'main' into linter/nilerr 3 years ago
wal_test.go TSDB: Rename wal package to wlog (#11352) 3 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: