Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommonMetricName = "ropee_metric_name" CommonMetricValue = "ropee_metric_value" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetMetrics ¶
func (*Client) LabelValues ¶
func (*Client) MetricLabels ¶
func (*Client) Read ¶
func (c *Client) Read(req *prompb.ReadRequest) (*prompb.ReadResponse, error)
type LabelValue ¶
type LabelValue struct {
Name string `json:"name"`
}
type MetricLabel ¶
type MetricLabel struct {
Name string `json:"name"`
}
type RemoteClient ¶
type RemoteClient interface { Read(*prompb.ReadRequest) (*prompb.ReadResponse, error) Write(*prompb.WriteRequest) error MetricLabels(string) []string LabelValues(string) []string }
type SplunkMetricEvent ¶
func TimeSeriesToPromMetrics ¶
func TimeSeriesToPromMetrics(series prompb.TimeSeries) []SplunkMetricEvent
Click to show internal directories.
Click to hide internal directories.