@ThreadSafe public class RequestMetricCollectorSupport extends RequestMetricCollector
RequestMetricCollector
RequestMetricCollector.Factory
NONE
Modifier and Type | Method and Description |
---|---|
void |
collectMetrics(Request<?> request,
Response<?> response)
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.
|
isEnabled
public void collectMetrics(Request<?> request, Response<?> response)
collectMetrics
in class RequestMetricCollector
Request.getAWSRequestMetrics()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.