prometheus/tsdb
Bryan Boreham 105c692f77 [BUGFIX] TSDB: Don't read in-order chunks from before head MinTime
Because we are reimplementing the `IndexReader` to fetch in-order and
out-of-order chunks together, we must reproduce the behaviour of
`Head.indexRange()`, which floors the minimum time queried at `head.MinTime()`.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-10-15 14:23:05 +01:00
..
agent chore: fix some function names 2024-08-21 11:09:37 +08:00
chunkenc NH: Do not re-use spans between histograms (#14771) 2024-09-04 12:07:16 +02:00
chunks Merge pull request #14700 from shandongzhejiang/main 2024-09-02 18:59:28 +02:00
docs
encoding lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
errors
fileutil
goversion
index Backward compatibility with upcoming index v3 2024-09-19 10:27:52 +01:00
record
testdata
tombstones
tsdbutil Ignore stale histograms for counter reset detection 2024-07-26 10:08:31 +02:00
wlog fix bug with metadata for rw2 (#14766) 2024-08-30 08:14:20 +01:00
.gitignore
block.go TSDB: Review feedback 2024-08-14 13:41:44 +01:00
block_test.go
blockwriter.go
blockwriter_test.go
CHANGELOG.md
compact.go
compact_test.go chore: fix some comments 2024-08-28 11:26:57 +08:00
db.go [BUGFIX] TSDB: Don't read in-order chunks from before head MinTime 2024-10-15 14:23:05 +01:00
db_test.go New cases in Test_ChunkQuerier_OOOQuery and Test_Querier_OOOQuery 2024-08-23 15:50:47 +02:00
example_test.go
exemplar.go
exemplar_test.go
head.go BUGFIX: TSDB: panic in query during truncation with OOO head (#14831) 2024-09-05 17:17:42 +01:00
head_append.go Upgrade golangci-lint to v1.60.1 2024-08-18 12:13:25 +02:00
head_bench_test.go
head_dedupelabels.go
head_other.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
head_read.go TSDB: streamline reading of overlapping head chunks 2024-08-29 10:57:29 +01:00
head_read_test.go
head_test.go Merge pull request #14874 from krajorama/fix-panic-in-ooo-query2 2024-09-19 10:03:53 +01:00
head_wal.go Revert " Store mmMaxTime in same field as seriesShard" 2024-08-26 08:56:16 +02:00
isolation.go
isolation_test.go
mocks_test.go
ooo_head.go TSDB: Remove code for querying OOO-head only 2024-08-14 13:41:13 +01:00
ooo_head_read.go [BUGFIX] TSDB: Only query chunks up to truncation time (#14948) 2024-09-20 17:44:04 +01:00
ooo_head_read_test.go [BUGFIX] TSDB: Only query chunks up to truncation time (#14948) 2024-09-20 17:44:04 +01:00
ooo_head_test.go Fix ToEncodedChunks minT for recoded chunks 2024-08-08 15:22:46 +02:00
ooo_isolation.go
ooo_isolation_test.go
querier.go tsdb: Fix ValNone typo in comment 2024-08-23 08:20:20 +02:00
querier_bench_test.go TSDB: Review feedback 2024-08-14 13:41:44 +01:00
querier_test.go [BUGFIX] TSDB: Only query chunks up to truncation time (#14948) 2024-09-20 17:44:04 +01:00
README.md
repair.go
repair_test.go
testutil.go
tsdbblockutil.go

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: