for (final Map.Entry<String, Object> resultValue : result.getValues().entrySet()) {
final String name = KeyUtils.getKeyString(query, result, resultValue, getTypeNames());
final String value = resultValue.getValue().toString();
GMetricType dataType = getType(resultValue.getValue());
log.debug("Sending Ganglia metric {}={} [type={}]", name, value, dataType);
new GMetric(host, port, addressingMode, ttl, v31, null, spoofedHostName)
.announce(name, value, dataType, units, slope, tmax, dmax, groupName);
}
}
}
}