public class LabeledMetricNameUtils
extends java.lang.Object
MetricName
.Modifier and Type | Class and Description |
---|---|
static class |
LabeledMetricNameUtils.MetricNameBuilder
Builder class for a labeled
MetricName . |
static class |
LabeledMetricNameUtils.ParsedMetricName |
Constructor and Description |
---|
LabeledMetricNameUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<LabeledMetricNameUtils.ParsedMetricName> |
parseMetricName(java.lang.String metricName)
Parse a 'metric name' String that was created with 'MetricNameBuilder'.
|
public static java.util.Optional<LabeledMetricNameUtils.ParsedMetricName> parseMetricName(java.lang.String metricName)
'{baseName}*{metricLabelKey1}:{metricLabelVal1};...{metricLabelKeyN}:{metricLabelValN};'
metricName
-