| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.lib.worker | |
| com.amazonaws.services.kinesis.metrics.impl | |
| com.amazonaws.services.kinesis.metrics.interfaces |
| Modifier and Type | Field and Description |
|---|---|
static MetricsLevel |
KinesisClientLibConfiguration.DEFAULT_METRICS_LEVEL
Metrics level for which to enable CloudWatch metrics.
|
| Modifier and Type | Method and Description |
|---|---|
MetricsLevel |
KinesisClientLibConfiguration.getMetricsLevel() |
| Modifier and Type | Method and Description |
|---|---|
KinesisClientLibConfiguration |
KinesisClientLibConfiguration.withMetricsLevel(MetricsLevel metricsLevel) |
| Modifier and Type | Field and Description |
|---|---|
static MetricsLevel |
CWMetricsFactory.DEFAULT_METRICS_LEVEL
Default metrics level to enable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadSafeMetricsDelegatingScope.addData(String name,
double value,
com.amazonaws.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level)
Adds a data point to this IMetricsScope if given metrics level is enabled.
|
void |
AccumulatingMetricsScope.addData(String name,
double value,
com.amazonaws.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level) |
void |
EndingMetricsScope.addData(String name,
double value,
com.amazonaws.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level) |
void |
NullMetricsScope.addData(String name,
double value,
com.amazonaws.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level) |
void |
FilteringMetricsScope.addData(String name,
double value,
com.amazonaws.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level)
Adds the data to the metrics scope if the given level is equal to above the enabled metrics
level.
|
static void |
MetricsHelper.addLatency(long startTimeMillis,
MetricsLevel level) |
static void |
MetricsHelper.addLatency(String prefix,
long startTimeMillis,
MetricsLevel level) |
static void |
MetricsHelper.addLatencyPerShard(String shardId,
String prefix,
long startTimeMillis,
MetricsLevel level) |
static void |
MetricsHelper.addSuccessAndLatency(long startTimeMillis,
boolean success,
MetricsLevel level) |
static void |
MetricsHelper.addSuccessAndLatency(String prefix,
long startTimeMillis,
boolean success,
MetricsLevel level) |
static void |
MetricsHelper.addSuccessAndLatencyPerShard(String shardId,
String prefix,
long startTimeMillis,
boolean success,
MetricsLevel level) |
protected void |
InterceptingMetricsFactory.interceptAddData(String name,
double value,
com.amazonaws.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level,
IMetricsScope scope) |
| Constructor and Description |
|---|
CWMetricsFactory(com.amazonaws.services.cloudwatch.AmazonCloudWatch cloudWatchClient,
String namespace,
long bufferTimeMillis,
int maxQueueSize,
MetricsLevel metricsLevel,
Set<String> metricsEnabledDimensions)
Constructor.
|
CWMetricsScope(CWPublisherRunnable<CWMetricKey> publisher,
MetricsLevel metricsLevel,
Set<String> metricsEnabledDimensions)
Creates a CloudWatch metrics scope with given metrics level and enabled dimensions.
|
FilteringMetricsScope(MetricsLevel metricsLevel,
Set<String> metricsEnabledDimensions)
Creates a metrics scope that drops data with level below the given enabled level and only allows dimensions
that are part of the given enabled dimensions list.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricsLevel |
MetricsLevel.fromName(String name)
Returns metrics level associated with the given name.
|
static MetricsLevel |
MetricsLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsLevel[] |
MetricsLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IMetricsScope.addData(String name,
double value,
com.amazonaws.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level)
Adds a data point to this IMetricsScope if given metrics level is enabled.
|
Copyright © 2023. All rights reserved.