Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNaNDropped = errors.New("dropped NaN from Prometheus since they are not supported")
Functions ¶
func ReadRequestToInfluxQLQuery ¶
ReadRequestToInfluxQLQuery converts a Prometheus remote read request to an equivalent InfluxQL query that will return the requested data when executed
func TagsToLabelPairs ¶
TagsToLabelPairs converts a map of Influx tags into a slice of Prometheus label pairs
func WriteRequestToPoints ¶
func WriteRequestToPoints(req *remote.WriteRequest) ([]models.Point, error)
WriteRequestToPoints converts a Prometheus remote write request of time series and their samples into Points that can be written into Influx
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.