Bryan Boreham cde42f30e9 TSDB: streamline reading of overlapping head chunks
`getOOOSeriesChunks` was already finding sets of overlapping chunks; we
store those in a `multiMeta` struct so that `ChunkOrIterable` can
reconstruct an `Iterable` easily and predictably.

We no longer need a `MergeOOO` flag to indicate that this Meta should
be merged with other ones; this is explicit in the `multiMeta` structure.

We also no longer need `chunkMetaAndChunkDiskMapperRef`.

Add `wrapOOOHeadChunk` to defeat `chunkenc.Pool` - chunks are reset
during compaction, but if we wrap them (like `safeHeadChunk` was doing
then this is skipped) .

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-08-29 10:57:29 +01:00
..
2024-01-17 22:26:32 +08:00
2024-07-05 15:25:42 +02:00
2023-11-11 19:22:06 +01:00
2024-08-14 13:41:44 +01:00
2021-02-22 20:28:02 +01:00
2024-08-28 11:26:57 +08:00
2023-12-11 12:18:54 +00:00
2024-08-14 13:41:44 +01:00
2024-08-23 08:20:20 +02:00
2022-10-07 16:20:20 +00:00
2023-12-11 12:18:54 +00:00
2024-07-03 09:28:38 -07:00

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: