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.
 
 
 
 
 
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 2 years ago
..
agent style: Replace `else if` cascades with `switch` 2 years ago
chunkenc style: Replace `else if` cascades with `switch` 2 years ago
chunks style: Replace `else if` cascades with `switch` 2 years ago
docs Merge branch 'main' into sparsehistogram 2 years ago
encoding Merge 'main' into sparsehistogram 2 years ago
errors Fix context.Canceled wrapping in compaction 2 years ago
fileutil Update go to 1.19, set min version to 1.18 (#11279) 2 years ago
goversion lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
index style: Replace `else if` cascades with `switch` 2 years ago
record tsdb: Add counter reset hint to histograms and support in WAL 2 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 4 years ago
tombstones style: Replace `else if` cascades with `switch` 2 years ago
tsdbutil Name float values as "floats", not as "values" 2 years ago
wlog style: Replace `else if` cascades with `switch` 2 years 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 tsdb: sort values for Postings only when required 2 years ago
block_test.go Name float values as "floats", not as "values" 2 years ago
blockwriter.go Merge 'main' into sparsehistogram 2 years ago
blockwriter_test.go Name float values as "floats", not as "values" 2 years ago
compact.go Rename PopulateBlockFunc to BlockPopulator 2 years ago
compact_test.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
db.go style: Replace `else if` cascades with `switch` 2 years ago
db_test.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
example_test.go storage: allow re-use of iterators 2 years ago
exemplar.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
exemplar_test.go tsdb: in tests use labels.FromStrings 2 years ago
head.go Making the number of CPU cores used for sorting postings lists editable (#12247) 2 years ago
head_append.go style: Replace `else if` cascades with `switch` 2 years ago
head_bench_test.go Add out-of-order sample support to the TSDB (#11075) 2 years ago
head_read.go style: Replace `else if` cascades with `switch` 2 years ago
head_read_test.go Fix merge conflicts 2 years ago
head_test.go style: Replace `else if` cascades with `switch` 2 years ago
head_wal.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
isolation.go tsdb: turn off transaction isolation for head compaction (#11317) 2 years ago
isolation_test.go tsdb: turn off transaction isolation for head compaction (#11317) 2 years ago
mocks_test.go Move packages out of deprecated pkg directory 3 years ago
ooo_head.go Name float values as "floats", not as "values" 2 years ago
ooo_head_read.go style: Replace `else if` cascades with `switch` 2 years ago
ooo_head_read_test.go Name float values as "floats", not as "values" 2 years ago
ooo_head_test.go Name float values as "floats", not as "values" 2 years ago
querier.go style: Replace `else if` cascades with `switch` 2 years ago
querier_bench_test.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
querier_test.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
repair.go refactor: move from io/ioutil to io and os packages (#10528) 3 years ago
repair_test.go Simplify IndexReader.Series interface 2 years ago
tsdbblockutil.go Support FloatHistogram in TSDB (#11522) 2 years ago
wal.go style: Replace `else if` cascades with `switch` 2 years ago
wal_test.go TSDB: Rename wal package to wlog (#11352) 2 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: