| Modifier and Type | Method and Description |
|---|---|
MetricCollector |
TokenAuthorizationStrategy.Builder.metricCollector() |
MetricCollector |
AwsCredentialsAuthorizationStrategy.Builder.metricCollector() |
| Modifier and Type | Method and Description |
|---|---|
TokenAuthorizationStrategy.Builder |
TokenAuthorizationStrategy.Builder.metricCollector(MetricCollector metricCollector) |
AwsCredentialsAuthorizationStrategy.Builder |
AwsCredentialsAuthorizationStrategy.Builder.metricCollector(MetricCollector metricCollector) |
| Constructor and Description |
|---|
AuthorizationStrategyFactory(SdkRequest request,
MetricCollector metricCollector,
SdkClientConfiguration clientConfiguration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MetricCollector |
ClientExecutionParams.getMetricCollector() |
| Modifier and Type | Method and Description |
|---|---|
ClientExecutionParams<InputT,OutputT> |
ClientExecutionParams.withMetricCollector(MetricCollector metricCollector) |
| Modifier and Type | Method and Description |
|---|---|
MetricCollector |
ExecutionContext.metricCollector() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext.Builder |
ExecutionContext.Builder.metricCollector(MetricCollector metricCollector) |
| Modifier and Type | Field and Description |
|---|---|
static ExecutionAttribute<MetricCollector> |
SdkExecutionAttribute.API_CALL_ATTEMPT_METRIC_COLLECTOR
The
MetricCollector associated with the current, ongoing API call attempt. |
static ExecutionAttribute<MetricCollector> |
SdkExecutionAttribute.API_CALL_METRIC_COLLECTOR
The
MetricCollector associated with the overall API call. |
| Modifier and Type | Method and Description |
|---|---|
MetricCollector |
RequestExecutionContext.attemptMetricCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
RequestExecutionContext.attemptMetricCollector(MetricCollector metricCollector) |
| Modifier and Type | Method and Description |
|---|---|
static MetricCollector |
MetricUtils.createAttemptMetricsCollector(RequestExecutionContext context) |
static MetricCollector |
MetricUtils.createHttpMetricsCollector(RequestExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MetricUtils.collectHttpMetrics(MetricCollector metricCollector,
SdkHttpFullResponse httpResponse) |
static void |
MetricUtils.collectServiceEndpointMetrics(MetricCollector metricCollector,
SdkHttpFullRequest httpRequest)
Collect the SERVICE_ENDPOINT metric for this request.
|
static <T> CompletableFuture<T> |
MetricUtils.reportDuration(Supplier<CompletableFuture<T>> c,
MetricCollector metricCollector,
SdkMetric<Duration> metric)
Report a duration metric of the given
CompletableFuture supplier. |
| Modifier and Type | Method and Description |
|---|---|
Optional<MetricCollector> |
HttpExecuteRequest.metricCollector() |
| Modifier and Type | Method and Description |
|---|---|
HttpExecuteRequest.Builder |
HttpExecuteRequest.Builder.metricCollector(MetricCollector metricCollector)
Set the
MetricCollector to be used by the HTTP client to
report metrics collected for this request. |
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<MetricCollector> |
ClientConnectionRequestFactory.THREAD_LOCAL_REQUEST_METRIC_COLLECTOR
|
| Modifier and Type | Method and Description |
|---|---|
Optional<MetricCollector> |
AsyncExecuteRequest.metricCollector() |
| Modifier and Type | Method and Description |
|---|---|
AsyncExecuteRequest.Builder |
AsyncExecuteRequest.Builder.metricCollector(MetricCollector metricCollector)
Set the
MetricCollector to be used by the HTTP client to
report metrics collected for this request. |
| Modifier and Type | Method and Description |
|---|---|
MetricCollector |
CrtRequestContext.metricCollector() |
MetricCollector |
CrtAsyncRequestContext.metricCollector() |
| Modifier and Type | Method and Description |
|---|---|
static void |
CrtUtils.reportMetrics(software.amazon.awssdk.crt.http.HttpClientConnectionManager connManager,
MetricCollector metricCollector,
long acquireStartTime) |
| Modifier and Type | Method and Description |
|---|---|
MetricCollector |
RequestContext.metricCollector() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
SdkChannelPool.collectChannelPoolMetrics(MetricCollector metrics)
Collect channel pool metrics into the provided
MetricCollector collection, completing the returned future when
all metric publishing is complete. |
CompletableFuture<Void> |
ReleaseOnceChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
CompletableFuture<Void> |
ListenerInvokingChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
CompletableFuture<Void> |
IdleConnectionCountingChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
CompletableFuture<Void> |
HealthCheckedChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
CompletableFuture<Void> |
CancellableAcquireChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
static void |
NettyRequestMetrics.ifMetricsAreEnabled(MetricCollector metrics,
Consumer<MetricCollector> metricsConsumer) |
static boolean |
NettyRequestMetrics.metricsAreEnabled(MetricCollector metricCollector)
Determine whether metrics are enabled, based on the provided metric collector.
|
static void |
NettyRequestMetrics.publishHttp2StreamMetrics(MetricCollector metricCollector,
io.netty.channel.Channel channel)
Publish stream metrics for the provided stream channel to the provided collector.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
NettyRequestMetrics.ifMetricsAreEnabled(MetricCollector metrics,
Consumer<MetricCollector> metricsConsumer) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
HttpOrHttp2ChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
CompletableFuture<Void> |
Http2MultiplexedChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
BetterFixedChannelPool.collectChannelPoolMetrics(MetricCollector metrics) |
| Modifier and Type | Class and Description |
|---|---|
class |
NoOpMetricCollector
A metric collector that doesn't do anything.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricCollector |
MetricCollector.create(String name) |
MetricCollector |
NoOpMetricCollector.createChild(String name) |
MetricCollector |
MetricCollector.createChild(String name)
Create a child of this metric collector.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMetricCollector |
| Modifier and Type | Method and Description |
|---|---|
static MetricCollector |
DefaultMetricCollector.create(String name) |
MetricCollector |
DefaultMetricCollector.createChild(String name) |
Copyright © 2026. All rights reserved.