package
0.0.0-20201007121644-85862429506e
Repository: https://github.com/modularise/prometheus-tsdb.git
Documentation: pkg.go.dev

# Functions

FromData returns a chunk from a byte slice of chunk data.
NewNopIterator returns a new chunk iterator that does not hold any data.
NewPool returns a new pool.
NewXORChunk returns a new chunk with XOR encoding of the given size.

# Constants

The different available chunk encodings.
The different available chunk encodings.

# Structs

XORChunk holds XOR encoded sample data.

# Interfaces

Appender adds sample pairs to a chunk.
Chunk holds a sequence of sample pairs that can be iterated over and appended to.
Iterator is a simple iterator that can only get the next value.
Pool is used to create and reuse chunk references to avoid allocations.

# Type aliases

Encoding is the identifier for a chunk encoding.