This is the default implementation of an AWS SDK request metric collection
Collects the metrics at the end of a request/response cycle, transforms
the metric data points into a cloud watch metric datum representation,
and then adds it to a memory queue so it will get summarized into the
necessary statistics and uploaded to Amazon CloudWatch.
log.debug("Ignoring unexpected failure", ex);
log.debug("Failed to add to the metrics queue (due to no space available) for "
log.warn("Failed to add to the metrics queue for "
Adds the given metric to the queue, returning true if successful or false
if no space available.
Returns the predefined metrics transformer.