RequestMetricTransformer
@ThreadSafe public class DynamoDbRequestMetricTransformer extends Object implements RequestMetricTransformer
AwsMetricTransformerFactory
RequestMetricTransformer.Utils
NONE
Constructor | Description |
---|---|
DynamoDbRequestMetricTransformer() |
Modifier and Type | Method | Description |
---|---|---|
List<MetricDatum> |
toMetricData(MetricType metricType,
Request<?> request,
Object response) |
Returns a list of metric datum for the metrics collected for the given
request/response, or null if this transformer does not recognize the
specific input metric type.
|
public List<MetricDatum> toMetricData(MetricType metricType, Request<?> request, Object response)
RequestMetricTransformer
Note returning an empty list means the transformer recognized the metric type but concluded there is no metrics to be generated for it.
toMetricData
in interface RequestMetricTransformer
metricType
- the predefined metric typeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.