Package | Description |
---|---|
software.amazon.kinesis.metrics |
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 |
---|---|
static void |
MetricsUtil.addCount(MetricsScope metricsScope,
String dimension,
long count,
MetricsLevel metricsLevel) |
void |
NullMetricsScope.addData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level) |
void |
AccumulatingMetricsScope.addData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level) |
void |
EndingMetricsScope.addData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level) |
void |
ThreadSafeMetricsDelegatingScope.addData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level)
Adds a data point to this IMetricsScope if given metrics level is enabled.
|
void |
MetricsScope.addData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level)
Adds a data point to this IMetricsScope if given metrics level is enabled.
|
void |
FilteringMetricsScope.addData(String name,
double value,
software.amazon.awssdk.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 |
MetricsUtil.addLatency(MetricsScope metricsScope,
String dimension,
long startTime,
MetricsLevel metricsLevel) |
static void |
MetricsUtil.addSuccess(MetricsScope metricsScope,
String dimension,
boolean success,
MetricsLevel metricsLevel) |
static void |
MetricsUtil.addSuccessAndLatency(MetricsScope metricsScope,
boolean success,
long startTime,
MetricsLevel metricsLevel) |
static void |
MetricsUtil.addSuccessAndLatency(MetricsScope metricsScope,
String dimension,
boolean success,
long startTime,
MetricsLevel metricsLevel) |
protected void |
InterceptingMetricsFactory.interceptAddData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level,
MetricsScope scope) |
Constructor and Description |
---|
CloudWatchMetricsFactory(software.amazon.awssdk.services.cloudwatch.CloudWatchAsyncClient cloudWatchClient,
String namespace,
long bufferTimeMillis,
int maxQueueSize,
MetricsLevel metricsLevel,
Set<String> metricsEnabledDimensions,
int flushSize)
Constructor.
|
CloudWatchMetricsScope(CloudWatchPublisherRunnable 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.
|
Copyright © 2021. All rights reserved.