public class FlinkMetricContainerWithoutAccumulator
extends java.lang.Object
MetricsContainerImpl
and forwarding
Beam metrics to Flink accumulators and metrics. This class is used when Flink RuntimeContext
is not available.FlinkMetricContainer
Modifier and Type | Class and Description |
---|---|
static class |
org.apache.beam.runners.flink.metrics.FlinkMetricContainerBase.FlinkDistributionGauge
Flink
Gauge for DistributionResult . |
static class |
org.apache.beam.runners.flink.metrics.FlinkMetricContainerBase.FlinkGauge
Flink
Gauge for GaugeResult . |
Modifier and Type | Field and Description |
---|---|
protected org.apache.beam.runners.core.metrics.MetricsContainerStepMap |
metricsContainers |
Constructor and Description |
---|
FlinkMetricContainerWithoutAccumulator(org.apache.flink.metrics.MetricGroup metricGroup) |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.metrics.MetricGroup |
getMetricGroup() |
org.apache.beam.runners.core.metrics.MetricsContainerImpl |
getMetricsContainer(java.lang.String stepName) |
void |
updateMetrics(java.lang.String stepName,
java.util.List<org.apache.beam.model.pipeline.v1.MetricsApi.MonitoringInfo> monitoringInfos)
Update this container with metrics from the passed
MetricsApi.MonitoringInfo s, and send
updates along to Flink's internal metrics framework. |
protected final org.apache.beam.runners.core.metrics.MetricsContainerStepMap metricsContainers
public FlinkMetricContainerWithoutAccumulator(org.apache.flink.metrics.MetricGroup metricGroup)
public org.apache.flink.metrics.MetricGroup getMetricGroup()
public org.apache.beam.runners.core.metrics.MetricsContainerImpl getMetricsContainer(java.lang.String stepName)
public void updateMetrics(java.lang.String stepName, java.util.List<org.apache.beam.model.pipeline.v1.MetricsApi.MonitoringInfo> monitoringInfos)
MetricsApi.MonitoringInfo
s, and send
updates along to Flink's internal metrics framework.