Package org.apache.beam.sdk.metrics
Class MetricKey
java.lang.Object
org.apache.beam.sdk.metrics.MetricKey
- All Implemented Interfaces:
Serializable
Metrics are keyed by the step name they are associated with and the name of the metric.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricKey
create
(@Nullable String stepName, MetricName metricName) abstract MetricName
The name of the metric.stepName()
The step name that is associated with this metric or Null if none is associated.toString()