public interface RequestMetricTransformer
Object.equals(Object)
and
Object.hashCode()
methods are overridden as necessary.Modifier and Type | Interface and Description |
---|---|
static class |
RequestMetricTransformer.Utils
Common utilities for implementing this SPI.
|
Modifier and Type | Field and Description |
---|---|
static RequestMetricTransformer |
NONE
A convenient instance of a no-op request metric transformer.
|
Modifier and Type | Method and Description |
---|---|
List<MetricDatum> |
toMetricData(MetricType metricType,
Request<?> request,
Response<?> 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.
|
static final RequestMetricTransformer NONE
List<MetricDatum> toMetricData(MetricType metricType, Request<?> request, Response<?> response)
Note returning an empty list means the transformer recognized the metric type but concluded there is no metrics to be generated for it.
metricType
- the predefined metric typeCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.