Documentation ¶
Index ¶
- func FromChunks(userID string, metric labels.Labels, in []client.Chunk) ([]chunk.Chunk, error)
- func SeriesChunksToMatrix(from, through model.Time, serieses []client.TimeSeriesChunk) (model.Matrix, error)
- func StreamsToMatrix(from, through model.Time, responses []*client.QueryStreamResponse) (model.Matrix, error)
- func ToChunks(in []chunk.Chunk) ([]client.Chunk, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromChunks ¶
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 StreamsToMatrix ¶
func StreamsToMatrix(from, through model.Time, responses []*client.QueryStreamResponse) (model.Matrix, error)
StreamsToMatrix converts a slice of QueryStreamResponse to a model.Matrix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.