Documentation ¶
Index ¶
- func Serialize(frames ...*data.Frame) ([]byte, error)
- func SerializeLabelsColumn(frames ...*data.Frame) ([]byte, error)
- func TimeSeriesFromFrames(frames ...*data.Frame) []prompb.TimeSeries
- func TimeSeriesFromFramesLabelsColumn(frames ...*data.Frame) []prompb.TimeSeries
- func TimeSeriesToBytes(ts []prompb.TimeSeries) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SerializeLabelsColumn ¶
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.
Click to show internal directories.
Click to hide internal directories.