dedup

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBoundedSeriesIterator

func NewBoundedSeriesIterator(it chunkenc.Iterator, mint, maxt int64) *boundedSeriesIterator

func NewChunkSeriesMerger added in v0.22.0

func NewChunkSeriesMerger() storage.VerticalChunkSeriesMergeFunc

NewChunkSeriesMerger merges several chunk series into one. Deduplication is based on penalty based deduplication algorithm without handling counter reset.

func NewOverlapSplit added in v0.31.0

func NewOverlapSplit(set storepb.SeriesSet) storepb.SeriesSet

NewOverlapSplit splits overlapping chunks into separate series entry, so existing algorithm can work as usual. We cannot do this in dedup.SeriesSet as it iterates over samples already. TODO(bwplotka): Remove when we move to per chunk deduplication code. We expect non-duplicated series with sorted chunks by min time (possibly overlapped).

func NewSeriesSet

func NewSeriesSet(set storage.SeriesSet, f string) storage.SeriesSet

NewSeriesSet returns seriesSet that deduplicates the same series. The series in series set are expected be sorted by all labels.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL