Help us shape the future of Go! Take the 2026 Go Developer Survey

chunkcompat

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromChunks

func FromChunks(metric labels.Labels, in []client.Chunk) ([]chunk.Chunk, error)

FromChunks converts []client.Chunk to []chunk.Chunk.

func SeriesChunksToMatrix

func SeriesChunksToMatrix(from, through model.Time, serieses []client.TimeSeriesChunk) (model.Matrix, error)

SeriesChunksToMatrix converts slice of []client.TimeSeriesChunk to a model.Matrix.

func ToChunks

func ToChunks(in []chunk.Chunk) ([]client.Chunk, error)

ToChunks converts []chunk.Chunk to []client.Chunk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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