Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricNameMatcherFromMatchers ¶
func MetricNameMatcherFromMatchers(matchers []*labels.Matcher) (*labels.Matcher, []*labels.Matcher, bool)
MetricNameMatcherFromMatchers extracts the metric name from a set of matchers
func UnsafeMetricNameFromLabelAdapters ¶
func UnsafeMetricNameFromLabelAdapters(labels []logproto.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.