Versions in this module Expand all Collapse all v0 v0.1.0 Jun 13, 2019 Changes in this version + const CommonMetricName + const CommonMetricValue + func MakeSPL(query *prompb.Query, c RemoteClient, index string) (string, error) + type Client struct + func (c *Client) GetMetrics() []string + func (c *Client) LabelValues(labelName string) []string + func (c *Client) MetricLabels(metricName string) []string + func (c *Client) Read(req *prompb.ReadRequest) (*prompb.ReadResponse, error) + func (c *Client) Write(req *prompb.WriteRequest) error + type LabelValue struct + Name string + type Metric struct + Name string + type MetricLabel struct + Name string + type RemoteClient interface + LabelValues func(string) []string + MetricLabels func(string) []string + Read func(*prompb.ReadRequest) (*prompb.ReadResponse, error) + Write func(*prompb.WriteRequest) error + func NewClient(url, user, password, index, sourcetype string, hecUrl, hecToken string, ...) (RemoteClient, error) + type SplunkMetricEvent struct + MetricStr string + Time int64 + func TimeSeriesToPromMetrics(series prompb.TimeSeries) []SplunkMetricEvent