Package | Description |
---|---|
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.metrics.internal.cloudwatch | |
com.amazonaws.metrics.internal.cloudwatch.provider.transform | |
com.amazonaws.metrics.internal.cloudwatch.spi | |
com.amazonaws.services.dynamodbv2.metrics | |
com.amazonaws.services.s3.metrics | |
com.amazonaws.util |
Modifier and Type | Interface and Description |
---|---|
interface |
RequestMetricType
|
interface |
ServiceMetricType
Service specific Metric type (eg S3, DynamoDB, etc.)
|
interface |
ThroughputMetricType |
Modifier and Type | Class and Description |
---|---|
class |
SimpleMetricType |
class |
SimpleServiceMetricType |
class |
SimpleThroughputMetricType |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<MetricType> |
AwsSdkMetrics.MetricRegistry.metricTypes |
private java.util.Set<MetricType> |
AwsSdkMetrics.MetricRegistry.readOnly |
Modifier and Type | Method and Description |
---|---|
static <T extends MetricType> |
AwsSdkMetrics.addAll(java.util.Collection<T> types)
Adds the given metric types to the registry of predefined metrics to be
captured at the AWS SDK level.
|
<T extends MetricType> |
AwsSdkMetrics.MetricRegistry.addMetricTypes(java.util.Collection<T> types) |
static <T extends MetricType> |
AwsSdkMetrics.set(java.util.Collection<T> types)
Sets the given metric types to replace the registry of predefined metrics
to be captured at the AWS SDK level.
|
<T extends MetricType> |
AwsSdkMetrics.MetricRegistry.setMetricTypes(java.util.Collection<T> types) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<MetricType> |
AwsSdkMetrics.getPredefinedMetrics()
Returns an unmodifiable set of the current predefined metrics.
|
java.util.Set<MetricType> |
AwsSdkMetrics.MetricRegistry.predefinedMetrics() |
Modifier and Type | Method and Description |
---|---|
static boolean |
AwsSdkMetrics.add(MetricType type)
Adds the given metric type to the registry of predefined metrics to be
captured at the AWS SDK level.
|
boolean |
AwsSdkMetrics.MetricRegistry.addMetricType(MetricType type) |
static boolean |
AwsSdkMetrics.remove(MetricType type)
Removes the given metric type from the registry of predefined metrics to
be captured at the AWS SDK level.
|
boolean |
AwsSdkMetrics.MetricRegistry.removeMetricType(MetricType type) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
MachineMetric
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MetricDatum> |
PredefinedMetricTransformer.counterMetricOf(MetricType type,
Request<?> req,
java.lang.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 java.util.List<MetricDatum> |
PredefinedMetricTransformer.latencyMetricOf(MetricType metricType,
Request<?> req,
java.lang.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.
|
java.util.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 |
---|---|
java.util.List<MetricDatum> |
DynamoDBRequestMetricTransformer.toMetricData(MetricType metricType,
Request<?> request,
Response<?> response) |
private java.util.List<MetricDatum> |
DynamoDBRequestMetricTransformer.toMetricData0(MetricType metricType,
Request<?> req,
Response<?> response) |
Modifier and Type | Method and Description |
---|---|
java.util.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 | Class and Description |
---|---|
class |
DynamoDBRequestMetric
DynamoDB specific request metric type.
|
Modifier and Type | Class and Description |
---|---|
class |
S3ServiceMetric
S3 specific service metrics in the form of "simulated enum".
|
private static class |
S3ServiceMetric.S3ThroughputMetric |
Modifier and Type | Class and Description |
---|---|
static class |
AWSRequestMetrics.Field
Predefined AWS SDK metric types general across all AWS clients.
|
class |
AWSServiceMetrics
Predefined AWS SDK non-request specific metric types general across all AWS
clients.
|
Modifier and Type | Method and Description |
---|---|
void |
AWSRequestMetricsFullSupport.addProperty(MetricType f,
java.lang.Object value) |
void |
AWSRequestMetrics.addProperty(MetricType f,
java.lang.Object value) |
AWSRequestMetrics |
AWSRequestMetrics.addPropertyWith(MetricType f,
java.lang.Object value)
Fluent API of
AWSRequestMetrics.addProperty(MetricType, Object) |
void |
AWSRequestMetricsFullSupport.endEvent(MetricType f) |
void |
AWSRequestMetrics.endEvent(MetricType f) |
java.util.List<java.lang.Object> |
AWSRequestMetricsFullSupport.getProperty(MetricType f) |
java.util.List<java.lang.Object> |
AWSRequestMetrics.getProperty(MetricType f) |
void |
AWSRequestMetricsFullSupport.incrementCounter(MetricType f) |
void |
AWSRequestMetrics.incrementCounter(MetricType f) |
AWSRequestMetrics |
AWSRequestMetrics.incrementCounterWith(MetricType f)
Fluent API of
AWSRequestMetrics.incrementCounter(MetricType) |
void |
AWSRequestMetricsFullSupport.setCounter(MetricType f,
long count) |
void |
AWSRequestMetrics.setCounter(MetricType f,
long count) |
void |
AWSRequestMetricsFullSupport.startEvent(MetricType f) |
void |
AWSRequestMetrics.startEvent(MetricType f) |
AWSRequestMetrics |
AWSRequestMetrics.withCounter(MetricType f,
long count)
Fluent API of
AWSRequestMetrics.setCounter(MetricType, long) |