Extension ext = entry.getValue();
com.dianping.cat.consumer.heartbeat.model.entity.Extension extension = period.findOrCreateExtension(id);
for (Entry<String, String> kv : ext.getDynamicAttributes().entrySet()) {
double value = Double.valueOf(kv.getValue());
extension.getDetails().put(kv.getKey(), new Detail(kv.getKey()).setValue(value));
}
}
} catch (Exception e) {
Cat.logError(e);
}