@Experimental(value=METRICS) public interface MetricsContainer extends java.io.Serializable
| Modifier and Type | Method and Description | 
|---|---|
| Counter | getCounter(MetricName metricName)Return the  Counterthat should be used for implementing the givenmetricNamein
 this container. | 
| Distribution | getDistribution(MetricName metricName)Return the  Distributionthat should be used for implementing the givenmetricNamein this container. | 
| Gauge | getGauge(MetricName metricName)Return the  Gaugethat should be used for implementing the givenmetricNamein
 this container. | 
| default Histogram | getHistogram(MetricName metricName,
            org.apache.beam.sdk.util.HistogramData.BucketType bucketType)Return the  Histogramthat should be used for implementing the givenmetricNamein this container. | 
| default java.lang.Iterable<org.apache.beam.model.pipeline.v1.MetricsApi.MonitoringInfo> | getMonitoringInfos()Return the cumulative values for any metrics in this container as MonitoringInfos. | 
Counter getCounter(MetricName metricName)
Counter that should be used for implementing the given metricName in
 this container.Distribution getDistribution(MetricName metricName)
Distribution that should be used for implementing the given metricName in this container.Gauge getGauge(MetricName metricName)
Gauge that should be used for implementing the given metricName in
 this container.default Histogram getHistogram(MetricName metricName, org.apache.beam.sdk.util.HistogramData.BucketType bucketType)
Histogram that should be used for implementing the given metricName
 in this container.default java.lang.Iterable<org.apache.beam.model.pipeline.v1.MetricsApi.MonitoringInfo> getMonitoringInfos()