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 fe5cb190e6
tsdb: Add metrics for stale series compaction (#17957)
3 weeks ago
..
agent st: Add a hidden 'st-storage' feature flag for PROM-60 (#17907) 4 weeks ago
chunkenc Update tsdb/chunkenc/chunk.go 1 month ago
chunks tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
docs docs: Fix chunk format documentation for `varint` encoding 6 months ago
encoding Remove copyright date from headers (#17785) 2 months ago
fileutil Remove copyright date from headers (#17785) 2 months ago
goversion Remove copyright date from headers (#17785) 2 months ago
index Refactor various tsdb sub-packages (#17847) 1 month ago
record Remove copyright date from headers (#17785) 2 months ago
testdata
tombstones Refactor various tsdb sub-packages (#17847) 1 month ago
tsdbutil Refactor various tsdb sub-packages (#17847) 1 month ago
wlog tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
.gitignore
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: Migrate multi-errors to errors package (#17768) 3 weeks ago
block_test.go auto update head sample use in tests 1 month ago
blockwriter.go Remove copyright date from headers (#17785) 2 months ago
blockwriter_test.go Remove copyright date from headers (#17785) 2 months ago
compact.go tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
compact_test.go tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
db.go tsdb: Add metrics for stale series compaction (#17957) 3 weeks ago
db_append_v2_test.go tests: Unify TestDiskFillingUpAfterDisablingOOO and avoid hiding errors (#18017) 3 weeks ago
db_test.go tests: Unify TestDiskFillingUpAfterDisablingOOO and avoid hiding errors (#18017) 3 weeks ago
example_test.go Remove copyright date from headers (#17785) 2 months ago
exemplar.go tsdb: fix rare case of OOO exemplar insertion pointing to the exemplar being deleted (#17865) 1 month ago
exemplar_test.go tsdb: fix rare case of OOO exemplar insertion pointing to the exemplar being deleted (#17865) 1 month ago
head.go tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
head_append.go tests: Unify TestDiskFillingUpAfterDisablingOOO and avoid hiding errors (#18017) 3 weeks ago
head_append_v2.go tests(scrape): add TestScrapeLoopAppend_WithStorage (#17937) 4 weeks ago
head_append_v2_test.go fix: fix rare race on empty head.initialized() vs head.initTime() (#17963) 3 weeks ago
head_bench_test.go tsdb: add auto-cleanup to newTestHead and remove redundant cleanup calls (#17890) 1 month ago
head_dedupelabels.go Remove copyright date from headers (#17785) 2 months ago
head_other.go Remove copyright date from headers (#17785) 2 months ago
head_read.go tsdb: Add StaleHead and GC for stale series in the Head block 1 month ago
head_read_test.go Remove copyright date from headers (#17785) 2 months ago
head_test.go fix: fix rare race on empty head.initialized() vs head.initTime() (#17963) 3 weeks ago
head_wal.go tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
isolation.go Remove copyright date from headers (#17785) 2 months ago
isolation_test.go Remove copyright date from headers (#17785) 2 months ago
mocks_test.go Remove copyright date from headers (#17785) 2 months ago
ooo_head.go update ooo_head.go but only with TODOs 1 month ago
ooo_head_read.go Remove copyright date from headers (#17785) 2 months ago
ooo_head_read_test.go tsdb: add auto-cleanup to newTestHead and remove redundant cleanup calls (#17890) 1 month ago
ooo_head_test.go Remove copyright date from headers (#17785) 2 months ago
ooo_isolation.go Remove copyright date from headers (#17785) 2 months ago
ooo_isolation_test.go Remove copyright date from headers (#17785) 2 months ago
querier.go tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
querier_bench_test.go Remove copyright date from headers (#17785) 2 months ago
querier_test.go update remaining tests 1 month ago
repair.go tsdb: Migrate multi-errors to errors package (#17768) 3 weeks ago
repair_test.go Remove copyright date from headers (#17785) 2 months ago
testutil.go Remove copyright date from headers (#17785) 2 months ago
tsdbblockutil.go Remove copyright date from headers (#17785) 2 months 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: