}
static void populateMetricInfo(MetricInfoCollection metricInfoCollection, String prefix, MetricConfig metrics) {
if (metrics.metric != null) {
for (Metric metric : metrics.metric) {
MetricInfo metricInfo = new MetricInfo();
metricInfo.key = (prefix + metric.key);
metricInfoCollection.metricInfoList.add(metricInfo);
}
}