| Package | Description |
|---|---|
| com.amazonaws.metrics.internal.cloudwatch | |
| com.amazonaws.metrics.internal.cloudwatch.provider.transform | |
| com.amazonaws.metrics.internal.cloudwatch.spi | |
| com.amazonaws.services.cloudwatch.model |
Classes modeling the various types represented by AmazonCloudWatch.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<MetricDatum> |
PredefinedMetricTransformer.counterMetricOf(MetricType type,
Request<?> req,
Object resp,
boolean includesRequestType)
Returns a list of metric datum recorded for the specified counter metric
type; or an empty list if there is none.
|
protected List<MetricDatum> |
PredefinedMetricTransformer.latencyMetricOf(MetricType metricType,
Request<?> req,
Object response,
boolean includesRequestType)
Returns all the latency metric data recorded for the specified metric
event type; or an empty list if there is none.
|
protected List<MetricDatum> |
PredefinedMetricTransformer.latencyOfClientExecuteTime(Request<?> req,
Object response)
Returns a request type specific metrics for
AWSRequestMetrics.Field.ClientExecuteTime which is special in the sense that it
makes a more accurate measurement by taking the TimingInfo at the
root into account. |
protected List<MetricDatum> |
PredefinedMetricTransformer.metricOfCount(AWSRequestMetrics.Field metricType,
Request<?> req,
Object resp) |
protected List<MetricDatum> |
PredefinedMetricTransformer.metricOfRequestOrRetryCount(AWSRequestMetrics.Field metricType,
Request<?> req,
Object resp)
Returns a list with a single metric datum for the specified retry or
request count predefined metric; or an empty list if there is none.
|
List<MetricDatum> |
PredefinedMetricTransformer.toMetricData(MetricType metricType,
Request<?> request,
Response<?> response)
Returns a non-null list of metric datum for the metrics collected for the
given request/response.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ServiceMetricCollectorSupport.addMetricsToQueue(MetricDatum metric)
Adds the given metric to the queue, returning true if successful or false otherwise.
|
protected boolean |
RequestMetricCollectorSupport.addMetricsToQueue(MetricDatum metric)
Adds the given metric to the queue, returning true if successful or false otherwise.
|
| Constructor and Description |
|---|
RequestMetricCollectorSupport(BlockingQueue<MetricDatum> queue) |
ServiceMetricCollectorSupport(BlockingQueue<MetricDatum> queue) |
| Modifier and Type | Method and Description |
|---|---|
List<MetricDatum> |
DynamoDBRequestMetricTransformer.toMetricData(MetricType metricType,
Request<?> request,
Response<?> response) |
| Modifier and Type | Method and Description |
|---|---|
static MetricDatum |
MetricData.newMetricDatum(MetricDatum from,
Dimension... dimensions)
Returns a new metric datum cloned from the given metric datum, but
replacing the dimensions with the newly specified ones.
|
| Modifier and Type | Method and Description |
|---|---|
List<MetricDatum> |
RequestMetricTransformer.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.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricDatum |
MetricData.newMetricDatum(MetricDatum from,
Dimension... dimensions)
Returns a new metric datum cloned from the given metric datum, but
replacing the dimensions with the newly specified ones.
|
| Modifier and Type | Method and Description |
|---|---|
MetricDatum |
MetricDatum.withDimensions(Collection<Dimension> dimensions)
A list of dimensions associated with the metric.
|
MetricDatum |
MetricDatum.withDimensions(Dimension... dimensions)
A list of dimensions associated with the metric.
|
MetricDatum |
MetricDatum.withMetricName(String metricName)
The name of the metric.
|
MetricDatum |
MetricDatum.withStatisticValues(StatisticSet statisticValues)
A set of statistical values describing the metric.
|
MetricDatum |
MetricDatum.withTimestamp(Date timestamp)
The time stamp used for the metric.
|
MetricDatum |
MetricDatum.withUnit(StandardUnit unit)
The unit of the metric.
|
MetricDatum |
MetricDatum.withUnit(String unit)
The unit of the metric.
|
MetricDatum |
MetricDatum.withValue(Double value)
The value for the metric.
|
| Modifier and Type | Method and Description |
|---|---|
List<MetricDatum> |
PutMetricDataRequest.getMetricData()
A list of data describing the metric.
|
| Modifier and Type | Method and Description |
|---|---|
PutMetricDataRequest |
PutMetricDataRequest.withMetricData(MetricDatum... metricData)
A list of data describing the metric.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PutMetricDataRequest.setMetricData(Collection<MetricDatum> metricData)
A list of data describing the metric.
|
PutMetricDataRequest |
PutMetricDataRequest.withMetricData(Collection<MetricDatum> metricData)
A list of data describing the metric.
|
Copyright © 2016. All rights reserved.