remotewrite

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serialize

func Serialize(frames ...*data.Frame) ([]byte, error)

Serialize frames to Prometheus remote write format.

func SerializeLabelsColumn

func SerializeLabelsColumn(frames ...*data.Frame) ([]byte, error)

SerializeLabelsColumn frames to Prometheus remote write format.

func TimeSeriesFromFrames

func TimeSeriesFromFrames(frames ...*data.Frame) []prompb.TimeSeries

TimeSeriesFromFrames converts frames to slice of Prometheus TimeSeries.

func TimeSeriesFromFramesLabelsColumn

func TimeSeriesFromFramesLabelsColumn(frames ...*data.Frame) []prompb.TimeSeries

TimeSeriesFromFramesLabelsColumn converts frames to slice of Prometheus TimeSeries.

func TimeSeriesToBytes

func TimeSeriesToBytes(ts []prompb.TimeSeries) ([]byte, error)

TimeSeriesToBytes converts Prometheus TimeSeries to snappy compressed byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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