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
Callum Styan d07b70a2a8 track the last segment ID for which we appended a sample per series, and 3 years ago
..
agent Merge branch 'main' into linter/nilerr 3 years ago
chunkenc Merge branch 'main' into linter/nilerr 3 years ago
chunks style: Replace `else if` cascades with `switch` 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 Merge branch 'main' into linter/nilerr 3 years ago
record tsdb: Add counter reset hint to histograms and support in WAL 3 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones style: Replace `else if` cascades with `switch` 3 years ago
tsdbutil Name float values as "floats", not as "values" 3 years ago
wlog track the last segment ID for which we appended a sample per series, and 3 years ago
.gitignore Moving tsdb into its own subdirectory 6 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 Merge branch 'main' into linter/nilerr 3 years ago
db_test.go Merge branch 'main' into linter/nilerr 3 years ago
example_test.go storage: allow re-use of iterators 3 years ago
exemplar.go lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
exemplar_test.go tsdb: in tests use labels.FromStrings 3 years ago
head.go track the last segment ID for which we appended a sample per series, and 3 years ago
head_append.go track the last segment ID for which we appended a sample per series, and 3 years ago
head_bench_test.go Add out-of-order sample support to the TSDB (#11075) 3 years ago
head_read.go style: Replace `else if` cascades with `switch` 3 years ago
head_read_test.go Fix merge conflicts 3 years ago
head_test.go track the last segment ID for which we appended a sample per series, and 3 years ago
head_wal.go Merge branch 'main' into linter/nilerr 3 years ago
isolation.go enable gocritic, unconvert and unused linters 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 Merge branch 'main' into linter/nilerr 3 years ago
querier_bench_test.go lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
querier_test.go Merge branch 'main' into linter/nilerr 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: