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 7ffd3ca280 TSDB: Cosmetic: move HeadAndOOO implementations where old code was 2 years ago
..
agent [PRW 2.0] Merging `remote-write-2.0` feature branch to main (PRW 2.0 support + metadata in WAL) (#14395) 2 years ago
chunkenc Fix corrupting spans via iterator sharing 2 years ago
chunks TSDB: Simplify OOO Select by copying the head chunk (#14396) 2 years ago
docs Fix language in docs and comments (#14041) 2 years ago
encoding tsdb/encoding: use Go standard errors package 3 years ago
errors Enable default revive rules (#13068) 3 years ago
fileutil tests: remove err from message when testify prints it already 2 years ago
goversion remove obsolete build tag 2 years ago
index Replace `ListPostings.Seek`'s binary search call by the generic `slices.BinarySearch` (#14393) 2 years ago
record Fix a couple of comments 2 years ago
testdata
tombstones Update tombstones.go 3 years ago
tsdbutil Ignore stale histograms for counter reset detection 2 years ago
wlog Merge pull request #13200 from bboreham/wlog-defer 2 years ago
.gitignore
CHANGELOG.md
README.md
block.go [Benchmark] TSDB: Add BenchmarkQuerierSelectWithOutOfOrder 2 years ago
block_test.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 2 years ago
blockwriter.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 2 years ago
blockwriter_test.go
compact.go TSDB: Change block populator to accept postings index function (#14213) 2 years ago
compact_test.go feat: allow to delay head compaction start time helping Prometheus instances to 2 years ago
db.go TSDB: Remove code for querying OOO-head only 2 years ago
db_test.go feat: allow to delay head compaction start time helping Prometheus instances to 2 years ago
example_test.go
exemplar.go [ENHANCEMENT] TSDB: Save map lookup on validation 2 years ago
exemplar_test.go [Test] TSDB: BenchmarkResizeExemplar multiple per series 2 years ago
head.go Revert the option regardless of error 2 years ago
head_append.go tsdb: prepare inserting native histograms into OOO head 2 years ago
head_bench_test.go tsdb: use Go standard errors 3 years ago
head_dedupelabels.go tsdb: reset symbol table for exemplars periodically 2 years ago
head_other.go TSDB: rebuild labels symbol-table on each compaction 2 years ago
head_read.go [PERF] TSDB: Query head and ooo-head together 2 years ago
head_read_test.go TSDB: Simplify OOO Select by copying the head chunk (#14396) 2 years ago
head_test.go Fix appendable: check whether last val was a histogram (#14613) 2 years ago
head_wal.go tsdb: prepare inserting native histograms into OOO head 2 years ago
isolation.go tsdb: create isolation transaction slice on demand 3 years ago
isolation_test.go
mocks_test.go tsdb: use Go standard errors 3 years ago
ooo_head.go TSDB: Remove code for querying OOO-head only 2 years ago
ooo_head_read.go TSDB: Cosmetic: move HeadAndOOO implementations where old code was 2 years ago
ooo_head_read_test.go TSDB: Remove OOOHeadIndexReader 2 years ago
ooo_head_test.go Fix ToEncodedChunks minT for recoded chunks 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) 3 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) 3 years ago
querier.go [PERF] TSDB: Query head and ooo-head together 2 years ago
querier_bench_test.go [Benchmark] TSDB: Add BenchmarkQuerierSelectWithOutOfOrder 2 years ago
querier_test.go TSDB tests: Fix up BenchmarkQueries 2 years ago
repair.go tsdb: use Go standard errors 3 years ago
repair_test.go tsdb tests: use go-cmp instead of DeepEquals 2 years ago
testutil.go Testutil refactoring 2 years ago
tsdbblockutil.go Optimize histogram iterators (#13340) 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: