Documentation ¶
Index ¶
- Variables
- func ModelTagsToLabelPairs(tags models.Tags) []*remote.LabelPair
- func ReadRequestToInfluxStorageRequest(req *remote.ReadRequest, db, rp string) (*datatypes.ReadRequest, error)
- func RemoveInfluxSystemTags(tags models.Tags) models.Tags
- func TagsToLabelPairs(tags map[string]string) []*remote.LabelPair
- func WriteRequestToPoints(req *remote.WriteRequest) ([]models.Point, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNaNDropped = errors.New("dropped NaN from Prometheus since they are not supported")
Functions ¶
func ModelTagsToLabelPairs ¶
ModelTagsToLabelPairs converts models.Tags to a slice of Prometheus label pairs
func ReadRequestToInfluxStorageRequest ¶
func ReadRequestToInfluxStorageRequest(req *remote.ReadRequest, db, rp string) (*datatypes.ReadRequest, error)
ReadRequestToInfluxStorageRequest converts a Prometheus remote read request into one using the new storage API that IFQL uses.
func RemoveInfluxSystemTags ¶
RemoveInfluxSystemTags will remove tags that are Influx internal (_measurement and _field)
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.