@ThreadSafe public class PredefinedMetricTransformer extends Object
MetricDatum
.
See http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/
publishingMetrics.htmlAWSRequestMetrics
,
RequestMetricCollector
Constructor and Description |
---|
PredefinedMetricTransformer() |
Modifier and Type | Method and Description |
---|---|
List<MetricDatum> |
toMetricData(MetricType metricType,
Request<?> request,
Response<?> response)
Returns a non-null list of metric datum for the metrics collected for the
given request/response.
|
public List<MetricDatum> toMetricData(MetricType metricType, Request<?> request, Response<?> response)
metricType
- the request metric type