Documentation ¶
Index ¶
- func MetricNameFromLabelAdapters(labels []client.LabelAdapter) (string, error)
- func MetricNameFromLabels(lbls labels.Labels) (metricName string, err error)
- func MetricNameFromMetric(m model.Metric) (model.LabelValue, error)
- func MetricNameMatcherFromMatchers(matchers []*labels.Matcher) (*labels.Matcher, []*labels.Matcher, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricNameFromLabelAdapters ¶
func MetricNameFromLabelAdapters(labels []client.LabelAdapter) (string, error)
MetricNameFromLabelAdapters extracts the metric name from a list of LabelPairs.
func MetricNameFromLabels ¶
MetricNameFromLabels extracts the metric name from a list of Prometheus Labels.
func MetricNameFromMetric ¶
func MetricNameFromMetric(m model.Metric) (model.LabelValue, error)
MetricNameFromMetric extract the metric name from a model.Metric
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.