extract

package
v0.0.0-...-cab4e99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricNameFromLabels

func MetricNameFromLabels(lbls labels.Labels) (metricName string, err error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL