@ThreadSafe public class RequestMetricCollectorSupport extends RequestMetricCollector
RequestMetricCollectorRequestMetricCollector.FactoryNONE| 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.
|
isEnabledpublic void collectMetrics(Request<?> request, Response<?> response)
collectMetrics in class RequestMetricCollectorRequest.getAWSRequestMetrics()