AWSServiceMetrics.HttpClientGetConnectionTime);
try {
return method.invoke(orig, args);
} finally {
AwsSdkMetrics.getServiceMetricCollector()
.collectLatency(latencyProvider.endTiming());
}
}
return method.invoke(orig, args);
} catch (InvocationTargetException e) {
log.debug("", e);