Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricNameFromLabels ¶
MetricNameFromLabels extracts the metric name from a list of Prometheus Labels.
func UnsafeMetricNameFromLabelAdapters ¶
func UnsafeMetricNameFromLabelAdapters(labels []mimirpb.LabelAdapter) (string, error)
UnsafeMetricNameFromLabelAdapters extracts the metric name from a list of LabelPairs. The returned metric name string is a reference to the label value (no copy).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.