public class NettyShuffleMetricFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
METRIC_GROUP_INPUT |
static String |
METRIC_GROUP_OUTPUT |
Modifier and Type | Method and Description |
---|---|
static MetricGroup |
createShuffleIOOwnerMetricGroup(MetricGroup parentGroup) |
static void |
registerDebloatingTaskMetrics(SingleInputGate[] inputGates,
MetricGroup taskGroup) |
static void |
registerInputMetrics(boolean isDetailedMetrics,
MetricGroup inputGroup,
SingleInputGate[] inputGates) |
static void |
registerLegacyNetworkMetrics(boolean isDetailedMetrics,
MetricGroup metricGroup,
ResultPartitionWriter[] producedPartitions,
InputGate[] inputGates)
Deprecated.
should be removed in future
|
static void |
registerOutputMetrics(boolean isDetailedMetrics,
MetricGroup outputGroup,
ResultPartition[] resultPartitions) |
static void |
registerShuffleMetrics(MetricGroup metricGroup,
NetworkBufferPool networkBufferPool) |
public static final String METRIC_GROUP_OUTPUT
public static final String METRIC_GROUP_INPUT
public static void registerShuffleMetrics(MetricGroup metricGroup, NetworkBufferPool networkBufferPool)
public static MetricGroup createShuffleIOOwnerMetricGroup(MetricGroup parentGroup)
@Deprecated public static void registerLegacyNetworkMetrics(boolean isDetailedMetrics, MetricGroup metricGroup, ResultPartitionWriter[] producedPartitions, InputGate[] inputGates)
Registers legacy metric groups if shuffle service implementation is original default one.
public static void registerOutputMetrics(boolean isDetailedMetrics, MetricGroup outputGroup, ResultPartition[] resultPartitions)
public static void registerInputMetrics(boolean isDetailedMetrics, MetricGroup inputGroup, SingleInputGate[] inputGates)
public static void registerDebloatingTaskMetrics(SingleInputGate[] inputGates, MetricGroup taskGroup)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.