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
George Krajcsovits e48518c647
Merge pull request #18762 from prometheus/krajo/histogram-appender-num-param
2 days ago
..
agent tsdb(wal): st-per-sample for histograms initial code and benchmarks (#18221) 1 month ago
chunkenc Merge pull request #18762 from prometheus/krajo/histogram-appender-num-param 2 days ago
chunks Merge branch 'main' into st-main-sync2 4 months ago
compression tsdb: ST-in-WAL: Counter implementation and benchmarks (#17671) 4 months ago
docs feat(chunkenc): replace xoroptst chunk encoding with xor2 3 months ago
encoding Remove copyright date from headers (#17785) 5 months ago
fileutil Support the aix/ppc64 compilation target 3 months ago
goversion Remove copyright date from headers (#17785) 5 months ago
index Merge pull request #18069 from mishraa-G/optimize-label-api 4 months ago
record Update tsdb/record/record.go 1 week ago
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 6 years ago
tombstones Refactor various tsdb sub-packages (#17847) 5 months ago
tsdbutil tsdb/wlog: Remove any temproary checkpoints when creating a Checkpoint (#17598) 4 months ago
wlog tsdb(wal): st-per-sample for histograms initial code and benchmarks (#18221) 1 month ago
.gitignore
CHANGELOG.md
README.md Fixed broken link in tsdb README.md 4 years ago
block.go Merge pull request #18180 from atilsensalduz/bugfix/tsdb-writeMetaFile-fd-leak 4 months ago
block_test.go auto update head sample use in tests 5 months ago
blockwriter.go Remove copyright date from headers (#17785) 5 months ago
blockwriter_test.go Remove copyright date from headers (#17785) 5 months ago
compact.go tsdb: count EncXOR2 chunks as float samples; fix snapshot encoding (#18739) 3 weeks ago
compact_test.go tsdb: Rewrite TestCancelCompactions to run faster (#18632) 3 weeks ago
db.go tsdb: capture chunk-boundary samples in CompactStaleHead 1 week ago
db_append_v2_test.go tsdb(wal): st-per-sample for histograms initial code and benchmarks (#18221) 1 month ago
db_test.go tsdb: capture chunk-boundary samples in CompactStaleHead 1 week ago
example_test.go Remove copyright date from headers (#17785) 5 months ago
exemplar.go tsdb: fix rare case of OOO exemplar insertion pointing to the exemplar being deleted (#17865) 5 months ago
exemplar_test.go chore: enable staticcheck linter and update golangci-lint to 2.10.1 4 months ago
head.go tsdb: store maxt timestamp in walExpiries on stale series eviction (#18847) 1 week ago
head_append.go tsdb/chunkenc: take a generic Appender as the prev parameter (#18857) 2 days ago
head_append_v2.go tsdb: Add TODOs for ST-in-WAL work (#18773) 3 weeks ago
head_append_v2_test.go Merge pull request #18838 from prometheus/tsdb/fix-histogram-pending-commit-condition 1 week ago
head_bench_test.go tsdb: Skip clean series during periodic head chunk mmap (#18272) 2 months ago
head_dedupelabels.go Remove copyright date from headers (#17785) 5 months ago
head_other.go Remove copyright date from headers (#17785) 5 months ago
head_read.go Remove unnecessary method and rename 1 week ago
head_read_test.go tsdb: cache collected head chunks on ChunkReader for O(1) lookup (#18302) 2 months ago
head_test.go Merge pull request #18838 from prometheus/tsdb/fix-histogram-pending-commit-condition 1 week ago
head_wal.go chore: fix typos in comments (#18834) 1 week ago
isolation.go Remove copyright date from headers (#17785) 5 months ago
isolation_test.go chore(lint): enable wg.Go 4 months ago
label_values_bench_test.go tsdb: Optimize LabelValues for sparse intersections (Fixes #14551) 4 months ago
mocks_test.go Remove copyright date from headers (#17785) 5 months ago
ooo_head.go tsdb/chunkenc: take a generic Appender as the prev parameter (#18857) 2 days ago
ooo_head_read.go storage: introduce search interface with scoring and filtering 2 months ago
ooo_head_read_test.go storage: introduce search interface with scoring and filtering 2 months ago
ooo_head_test.go Add xor2-encoding feature flag 3 months ago
ooo_isolation.go Remove copyright date from headers (#17785) 5 months ago
ooo_isolation_test.go Remove copyright date from headers (#17785) 5 months ago
querier.go tsdb: Add TODOs for ST-in-WAL work (#18773) 3 weeks ago
querier_bench_test.go Remove copyright date from headers (#17785) 5 months ago
querier_test.go fix(tsdb): chunk overflow on ooo query (#18692) 4 weeks ago
repair.go tsdb: Migrate multi-errors to errors package (#17768) 4 months ago
repair_test.go Remove copyright date from headers (#17785) 5 months ago
testutil.go Remove copyright date from headers (#17785) 5 months ago
tsdbblockutil.go Remove copyright date from headers (#17785) 5 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: