package
0.37.2
Repository: https://github.com/thanos-io/thanos.git
Documentation: pkg.go.dev

# Functions

Downsample downsamples the given block.
DownsampleRaw create a series of aggregation chunks for the given sample data.
EncodeAggrChunk encodes a new aggregate chunk from the array of chunks for each aggregate.
NewGatherNoDownsampleMarkFilter creates GatherNoDownsampleMarkFilter.
TODO(bwplotka): Add reasonable limits to our sync pooling them to detect OOMs early.
NewStreamedBlockWriter returns streamedBlockWriter instance, it's not concurrency safe.
SamplesFromTSDBSamples converts tsdbutil.Sample slice to samples.

# Constants

Valid aggregations.
Valid aggregations.
Valid aggregations.
Valid aggregations.
Valid aggregations.
ChunkEncAggr is the top level encoding byte for the AggrChunk.
Raw data.
5 minutes in milliseconds.
40 hours.
1 hour in milliseconds.
10 days.

# Variables

ErrAggrNotExist is returned if a requested aggregation is not present in an AggrChunk.

# Structs

ApplyCounterResetsSeriesIterator generates monotonically increasing values by iterating over an ordered sequence of chunks, which should be raw or aggregated chunks of counter values.
AverageChunkIterator emits an artificial series of average samples based in aggregate chunks with sum and count aggregates.
GatherNoDownsampleMarkFilter is a block.Fetcher filter that passes all metas.

# Type aliases

AggrChunk is a chunk that is composed of a set of aggregates for the same underlying data.
AggrType represents an aggregation type.