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
beorn7 fd5ea4e0b5
Merge branch 'main' into sparsehistogram
3 years ago
..
chunkenc Convert the header into an enum 3 years ago
chunks Add new Go build tags. 3 years ago
docs/format Merge branch 'main' into sparsehistogram 3 years ago
encoding Log sparse histograms into WAL and replay from it (#9191) 3 years ago
errors MultiError: Refactored MultiError for more concise and safe usage. (#8066) 4 years ago
fileutil Add new Go build tags. 3 years ago
goversion Add new Go build tags. 3 years ago
index Replace calls to strings.Compare (#9397) 3 years ago
record Merge branch 'main' into sparsehistogram 3 years ago
test
testdata
tombstones Call delete on head if interval overlaps (#9151) 3 years ago
tsdbutil Query histograms from TSDB and unit test for append+query (#9022) 3 years ago
wal Sync sparsehistogram branch with main (#9189) 3 years ago
.gitignore
CHANGELOG.md Rename default branch to main 4 years ago
README.md Link 2 more TSDB blog posts in tsdb/README.md (#9371) 3 years ago
block.go LabelNames API with matchers (#9083) 3 years ago
block_test.go LabelNames API with matchers (#9083) 3 years ago
blockwriter.go Switched to go-kit/log 4 years ago
blockwriter_test.go Switched to go-kit/log 4 years ago
compact.go Switched to go-kit/log 4 years ago
compact_test.go Fix queries on blocks for sparse histograms and add unit test (#9209) 3 years ago
db.go Call delete on head if interval overlaps (#9151) 3 years ago
db_test.go Also ignore `func1` 3 years ago
exemplar.go Fix div by 0 panic is resize function. (#9286) 3 years ago
exemplar_test.go Fix div by 0 panic is resize function. (#9286) 3 years ago
head.go Merge branch 'main' into sparsehistogram 3 years ago
head_append.go Merge branch 'main' into sparsehistogram 3 years ago
head_bench_test.go React UI: Add Starting Screen (#8662) 4 years ago
head_read.go Merge branch 'main' into sparsehistogram 3 years ago
head_test.go Merge branch 'main' into sparsehistogram 3 years ago
head_wal.go Merge branch 'main' into sparsehistogram 3 years ago
isolation.go Add present_over_time (#9097) 3 years ago
isolation_test.go tsdb: Block Head GC till pending readers are done reading (#9081) 3 years ago
mocks_test.go Move away from testutil, refactor imports (#8087) 4 years ago
querier.go Convert the header into an enum 3 years ago
querier_bench_test.go React UI: Add Starting Screen (#8662) 4 years ago
querier_test.go LabelNames API with matchers (#9083) 3 years ago
repair.go Switched to go-kit/log 4 years ago
repair_test.go React UI: Add Starting Screen (#8662) 4 years ago
tsdbblockutil.go Switched to go-kit/log 4 years ago
wal.go Switched to go-kit/log 4 years ago
wal_test.go Add new Go build tags. 3 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: