Class JetMetricsContainer
java.lang.Object
org.apache.beam.runners.jet.metrics.JetMetricsContainer
- All Implemented Interfaces:
Serializable,MetricsContainer
Jet specific implementation of
MetricsContainer.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJetMetricsContainer(String stepName, String ownerId, com.hazelcast.jet.core.Processor.Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoidflush(boolean async) getBoundedTrie(MetricName metricName) Return theBoundedTriethat should be used for implementing the givenmetricNamein this container.getCounter(MetricName metricName) Return theCounterthat should be used for implementing the givenmetricNamein this container.getDistribution(MetricName metricName) Return theDistributionthat should be used for implementing the givenmetricNamein this container.getGauge(MetricName metricName) Return theGaugethat should be used for implementing the givenmetricNamein this container.static StringgetMetricsMapName(long jobId) getStringSet(MetricName metricName) Return theStringSetthat should be used for implementing the givenmetricNamein this container.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.metrics.MetricsContainer
getHistogram, getMonitoringInfos, getPerWorkerCounter
-
Constructor Details
-
JetMetricsContainer
-
-
Method Details
-
getMetricsMapName
-
getCounter
Description copied from interface:MetricsContainerReturn theCounterthat should be used for implementing the givenmetricNamein this container.- Specified by:
getCounterin interfaceMetricsContainer
-
getDistribution
Description copied from interface:MetricsContainerReturn theDistributionthat should be used for implementing the givenmetricNamein this container.- Specified by:
getDistributionin interfaceMetricsContainer
-
getGauge
Description copied from interface:MetricsContainerReturn theGaugethat should be used for implementing the givenmetricNamein this container.- Specified by:
getGaugein interfaceMetricsContainer
-
getStringSet
Description copied from interface:MetricsContainerReturn theStringSetthat should be used for implementing the givenmetricNamein this container.- Specified by:
getStringSetin interfaceMetricsContainer
-
getBoundedTrie
Description copied from interface:MetricsContainerReturn theBoundedTriethat should be used for implementing the givenmetricNamein this container.- Specified by:
getBoundedTriein interfaceMetricsContainer
-
flush
public void flush(boolean async)
-