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
Bryan Boreham bad3f23f23 agent: add BenchmarkCreateSeries 2 years ago
..
agent agent: add BenchmarkCreateSeries 2 years ago
chunkenc tsdb: use Go standard errors 2 years ago
chunks Merge branch 'main' into arve/typos 2 years ago
docs Merge branch 'main' into sparsehistogram 3 years ago
encoding tsdb/encoding: use Go standard errors package 2 years ago
errors Enable default revive rules (#13068) 2 years ago
fileutil tsdb/fileutil: use Go standard errors 2 years ago
goversion lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
index Merge pull request #12878 from bboreham/loser-tree 2 years ago
record Move metric type definitions to common/model 2 years ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 5 years ago
tombstones Update tombstones.go 2 years ago
tsdbutil Revert "Adding small test update for temp dir using t.TempDir (#13293)" 2 years ago
wlog tsdb: use Go standard errors 2 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: use Go standard errors 2 years ago
block_test.go Enable reusing memory when converting between histogram types 2 years ago
blockwriter.go tsdb: use Go standard errors 2 years ago
blockwriter_test.go Add a chunk size limit in bytes (#12054) 2 years ago
compact.go tsdb: use Go standard errors 2 years ago
compact_test.go tsdb: use Go standard errors 2 years ago
db.go tsdb: remove unused option (#13282) 2 years ago
db_test.go tsdb: remove unused option (#13282) 2 years ago
example_test.go Add context argument to Querier.Select (#12660) 2 years ago
exemplar.go tsdb: use Go standard errors 2 years ago
exemplar_test.go golangci-lint: enable testifylint linter (#13254) 2 years ago
head.go tsdb: use Go standard errors 2 years ago
head_append.go Move metric type definitions to common/model 2 years ago
head_bench_test.go tsdb: use Go standard errors 2 years ago
head_read.go tsdb: use Go standard errors 2 years ago
head_read_test.go golangci-lint: enable testifylint linter (#13254) 2 years ago
head_test.go tsdb: use Go standard errors 2 years ago
head_wal.go Move metric type definitions to common/model 2 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 tsdb: use Go standard errors 2 years 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) 2 years ago
ooo_head_read.go Change `ChunkReader.Chunk()` to `ChunkOrIterable()` 2 years ago
ooo_head_read_test.go golangci-lint: enable testifylint linter (#13254) 2 years ago
ooo_head_test.go ci(lint): enable godot; append dot at the end of comments 2 years ago
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) 2 years 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) 2 years ago
querier.go tsdb: use Go standard errors 2 years ago
querier_bench_test.go ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
querier_test.go tsdb: use Go standard errors 2 years ago
repair.go tsdb: use Go standard errors 2 years ago
repair_test.go Add context argument to IndexReader.Postings (#12667) 2 years ago
tsdbblockutil.go Support FloatHistogram in TSDB (#11522) 3 years ago
wal.go tsdb: use Go standard errors 2 years ago
wal_test.go golangci-lint: enable testifylint linter (#13254) 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: