package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Packages

# Functions

NewChunk creates a new chunk.

# Constants

BatchSize is samples per batch; this was choose by benchmarking all sizes from 1 to 128.

# Variables

BenchmarkLabels is a real example from Kubernetes' embedded cAdvisor metrics, lightly obfuscated.

# Structs

Batch is a sorted set of (timestamp, value) pairs.
Chunk contains encoded timeseries data.

# Interfaces

Iterator enables efficient access to the content of a chunk.