public class IncrementalResourceDistributionGoalMetrics extends Object
ResourceDistributionAbstractGoal.name()
.
NUM_BROKERS_ABOVE_LOWER_BOUND_METRIC_NAME
-
the number of brokers that fall above the lower bound threshold (KafkaCruiseControlConfig.INCREMENTAL_BALANCING_LOWER_BOUND_CONFIG
)
of the incremental goal during the incremental optimization run.
DESIRED_MEAN_UTILIZATION_METRIC_NAME
-
the mean percentage value of resource usage across the cluster as calculated by the goal during this optimization. The goal aims to move brokers toward this value.Constructor and Description |
---|
IncrementalResourceDistributionGoalMetrics(String goalName,
DataBalancerMetricsRegistry metricsRegistry,
Class<?> metricClass) |
Modifier and Type | Method and Description |
---|---|
void |
update(IncrementalResourceDistributionStatsSnapshot snapshot) |
public IncrementalResourceDistributionGoalMetrics(String goalName, DataBalancerMetricsRegistry metricsRegistry, Class<?> metricClass)
public void update(IncrementalResourceDistributionStatsSnapshot snapshot)