protected void addMissingMetrics(YammerMetricProcessor.Context context) {
        for (AutoBalancerMetrics metrics : context.getMetricMap().values()) {
            if (metrics.metricType() == MetricTypes.TOPIC_PARTITION_METRIC) {
                for (byte key : MetricVersion.LATEST_VERSION.requiredPartitionMetrics()) {
                    metrics.getMetricValueMap().putIfAbsent(key, 0.0);
                }
            }
        }
    }
Send a AutoBalancerMetric to the Kafka topic.

@param ccm the auto balancer metric to send.
core/src/main/java/kafka/autobalancer/metricsreporter/AutoBalancerMetricsReporter.java