Package org.apache.beam.sdk.metrics
Class LabeledMetricNameUtils
java.lang.Object
org.apache.beam.sdk.metrics.LabeledMetricNameUtils
Util class for building/parsing labeled 
MetricName.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for a labeledMetricName.static class - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionparseMetricName(String metricName) Parse a 'metric name' String that was created with 'MetricNameBuilder'. 
- 
Constructor Details
- 
LabeledMetricNameUtils
public LabeledMetricNameUtils() 
 - 
 - 
Method Details
- 
parseMetricName
Parse a 'metric name' String that was created with 'MetricNameBuilder'. The input string should be formatted as.'{baseName}*{metricLabelKey1}:{metricLabelVal1};...{metricLabelKeyN}:{metricLabelValN};'
- Parameters:
 metricName-- Returns:
 - Returns a ParsedMetricName object if the input string is properly formatted. If the input string is empty or malformed, returns an empty value.
 
 
 -