# Functions
MustRegisterEncoding add a new chunk encoding.
New creates a new chunk according to the encoding set by the DefaultEncoding flag.
NewForEncoding allows configuring what chunk type you want.
RangeValues is a utility function that retrieves all values within the given range from an Iterator.
# Constants
BatchSize is samples per batch; this was choose by benchmarking all sizes from 1 to 128.
Bigchunk encoding.
ChunkLen is the length of a chunk in bytes.
A Desc creation with refCount=1.
Delta encoding is no longer supported and will be automatically changed to DoubleDelta.
DoubleDelta encoding.
Drop is the label value for drop chunk ops.
No description provided by the author
No description provided by the author
Evict is the label value for evict chunk desc ops.
Load is the label value for load chunk and chunk desc ops.
OpTypeLabel is the label name for chunk operation types.
PersistAndUnpin is the label value for persist chunk ops.
Pin is the label value for pin chunk ops (excludes pin on creation).
PrometheusXorChunk is a wrapper around Prometheus XOR-encoded chunk.
Transcode is the label value for transcode chunk ops.
Unpin is the label value for unpin chunk ops (excludes the unpin on persisting).
Varbit encoding.
# Variables
DefaultEncoding exported for use in unit tests elsewhere.
NumMemChunks is the total number of chunks in memory.
# Type aliases
Encoding defines which encoding we are using, delta, doubledelta, or varbit.