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
Ganesh Vernekar 79305e704b
Compare block sizes with sparse histograms (#9045)
5 years ago
..
chunkenc Fix re-encoding 5 years ago
chunks Stop the bleed on chunk mapper panic (#8723) 5 years ago
docs/format Sparsehistogram: improve dod encoding, testing, encode chunk metadata (#9015) 5 years ago
encoding Avoid WriteAt for Postings. 6 years ago
errors MultiError: Refactored MultiError for more concise and safe usage. (#8066) 5 years ago
fileutil More info in mmap error message (#8058) 5 years ago
goversion tsdb: test for leaks (#7566) 6 years ago
index typos correct 5 years ago
record Append sparse histograms into the Head block (#9013) 5 years ago
test labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025) 5 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones Switched to go-kit/log 5 years ago
tsdbutil Query histograms from TSDB and unit test for append+query (#9022) 5 years ago
wal Switched to go-kit/log 5 years ago
.gitignore Moving tsdb into its own subdirectory 7 years ago
CHANGELOG.md Rename default branch to main 5 years ago
README.md Replace godoc.org links 5 years ago
block.go Switched to go-kit/log 5 years ago
block_test.go Switched to go-kit/log 5 years ago
blockwriter.go Switched to go-kit/log 5 years ago
blockwriter_test.go Switched to go-kit/log 5 years ago
compact.go Switched to go-kit/log 5 years ago
compact_test.go Compare block sizes with sparse histograms (#9045) 5 years ago
db.go Add `prometheus_tsdb_clean_start` metric (#8824) 5 years ago
db_test.go Added ignore 5 years ago
exemplar.go validate exemplar labelSet length first (#8816) 5 years ago
exemplar_test.go typos correct 5 years ago
head.go Fix interjections even more 5 years ago
head_bench_test.go React UI: Add Starting Screen (#8662) 5 years ago
head_test.go Support compaction of Head block for histograms (#9044) 5 years ago
isolation.go Optimise lowWatermark in Isolation (#7332) 6 years ago
isolation_test.go Optimise lowWatermark in Isolation (#7332) 6 years ago
mocks_test.go Move away from testutil, refactor imports (#8087) 5 years ago
querier.go Support compaction of Head block for histograms (#9044) 5 years ago
querier_bench_test.go React UI: Add Starting Screen (#8662) 5 years ago
querier_test.go React UI: Add Starting Screen (#8662) 5 years ago
repair.go Switched to go-kit/log 5 years ago
repair_test.go React UI: Add Starting Screen (#8662) 5 years ago
tsdbblockutil.go Switched to go-kit/log 5 years ago
wal.go Switched to go-kit/log 5 years ago
wal_test.go Switched to go-kit/log 5 years ago

README.md

TSDB

GoPkg

This directory contains the Prometheus storage layer that is used in its 2.x releases.

A writeup of its design can be found here.

Based on the Gorilla TSDB white papers.

Video: Storing 16 Bytes at Scale from PromCon 2017.

See also the format documentation.

A series of blog posts explaining different components of TSDB: