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 String
getName()
The name of this metric.abstract String
The namespace associated with this metric.static MetricName
static MetricName
static MetricName
static MetricName
toString()