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
Xiaochao Dong c2d1c85857
close tsdb.head in test case (#9580)
4 years ago
..
chunkenc improve bstream comments and doc (#9560) 4 years ago
chunks TSDB: Use a dedicated head chunk reference type (#9501) 4 years ago
docs improve bstream comments and doc (#9560) 4 years ago
encoding Snapshot in-memory chunks on shutdown for faster restarts (#7229) 4 years ago
errors Address golint failures from revive 4 years ago
fileutil Add new Go build tags. 4 years ago
goversion Add new Go build tags. 4 years ago
index Replace calls to strings.Compare (#9397) 4 years ago
record Exemplars in snapshot (#9255) 4 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 Call delete on head if interval overlaps (#9151) 4 years ago
tsdbutil storage: Split chunks if more than 120 samples (#8582) 5 years ago
wal Address golint failures from revive 4 years ago
.gitignore Moving tsdb into its own subdirectory 7 years ago
CHANGELOG.md Rename default branch to main 5 years ago
README.md improve bstream comments and doc (#9560) 4 years ago
block.go LabelNames API with matchers (#9083) 5 years ago
block_test.go LabelNames API with matchers (#9083) 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 Switched to go-kit/log 5 years ago
db.go Call delete on head if interval overlaps (#9151) 4 years ago
db_test.go fix: possible race on shared variables in test (#9470) 4 years ago
exemplar.go Address golint failures from revive 4 years ago
exemplar_test.go Fix div by 0 panic is resize function. (#9286) 4 years ago
head.go TSDB: Use a dedicated head chunk reference type (#9501) 4 years ago
head_append.go Fix remote write receiver endpoint for exemplars (#9414) 4 years ago
head_bench_test.go React UI: Add Starting Screen (#8662) 5 years ago
head_read.go Remove symbols map from TSDB head (#9301) 4 years ago
head_test.go close tsdb.head in test case (#9580) 4 years ago
head_wal.go Fix panic on failed snapshot replay and don't hard fail replay on disabled exemplars (#9438) 4 years ago
isolation.go Add present_over_time (#9097) 5 years ago
isolation_test.go tsdb: Block Head GC till pending readers are done reading (#9081) 5 years ago
mocks_test.go Move away from testutil, refactor imports (#8087) 5 years ago
querier.go LabelNames API with matchers (#9083) 5 years ago
querier_bench_test.go React UI: Add Starting Screen (#8662) 5 years ago
querier_test.go LabelNames API with matchers (#9083) 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 Add new Go build tags. 4 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 and bstream details.

A series of blog posts explaining different components of TSDB: