Package org.apache.beam.sdk.metrics
Class MetricName
java.lang.Object
org.apache.beam.sdk.metrics.MetricName
- All Implemented Interfaces:
Serializable
The name of a metric consists of a
getNamespace() and a getName(). The getNamespace() allows grouping related metrics together and also prevents collisions between
multiple metrics with the same name.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAssociated labels for the metric.abstract StringgetName()The name of this metric.abstract StringThe namespace associated with this metric.static MetricNamestatic MetricNamestatic MetricNamestatic MetricNametoString()