| Package | Description |
|---|---|
| org.apache.hc.client5.http.observation |
Simple facade APIs for HttpClient based on the concept of
a observation interface.
|
| org.apache.hc.client5.http.observation.impl |
Simple facade APIs for HttpClient based on the concept of
an observation implementations interface.
|
| org.apache.hc.client5.http.observation.interceptors |
Simple facade APIs for HttpClient based on the concept of
an interceptor interface.
|
| Modifier and Type | Field and Description |
|---|---|
static ObservingOptions |
ObservingOptions.DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
ObservingOptions |
ObservingOptions.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
static void |
HttpClientObservationSupport.enable(CachingHttpAsyncClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts)
Enables observations and metrics on a caching async client builder with an explicit
meter registry and default
MetricConfig. |
static void |
HttpClientObservationSupport.enable(CachingHttpAsyncClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Enables observations and metrics on a caching async client builder using explicit
registries and
MetricConfig. |
static void |
HttpClientObservationSupport.enable(CachingHttpAsyncClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
ObservingOptions opts)
Enables observations and metrics on a caching async client builder using
Metrics.globalRegistry and a custom ObservingOptions. |
static void |
HttpClientObservationSupport.enable(CachingHttpClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts)
Enables observations and metrics on a caching classic client builder with an explicit
meter registry and default
MetricConfig. |
static void |
HttpClientObservationSupport.enable(CachingHttpClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Enables observations and metrics on a caching classic client builder using explicit
registries and
MetricConfig. |
static void |
HttpClientObservationSupport.enable(CachingHttpClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
ObservingOptions opts)
Enables observations and metrics on a caching classic client builder using
Metrics.globalRegistry and a custom ObservingOptions. |
static void |
HttpClientObservationSupport.enable(HttpAsyncClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts)
Enables observations and metrics on an async client builder with an explicit
meter registry and default
MetricConfig. |
static void |
HttpClientObservationSupport.enable(HttpAsyncClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Enables observations and metrics on an async client builder using explicit
registries and
MetricConfig. |
static void |
HttpClientObservationSupport.enable(HttpAsyncClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
ObservingOptions opts)
Enables observations and metrics on an async client builder using
Metrics.globalRegistry and a custom ObservingOptions. |
static void |
HttpClientObservationSupport.enable(HttpClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts)
Enables observations and metrics on a classic client builder with an explicit
meter registry and default
MetricConfig. |
static void |
HttpClientObservationSupport.enable(HttpClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Enables observations and metrics on a classic client builder using explicit
registries and
MetricConfig. |
static void |
HttpClientObservationSupport.enable(HttpClientBuilder builder,
io.micrometer.observation.ObservationRegistry obsReg,
ObservingOptions opts)
Enables observations and metrics on a classic client builder using
Metrics.globalRegistry and a custom ObservingOptions. |
static AsyncClientConnectionManager |
HttpClientObservationSupport.meteredAsyncConnectionManager(AsyncClientConnectionManager delegate,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Wraps an async connection manager with Micrometer pool-lease metrics if
ObservingOptions.MetricSet.CONN_POOL is enabled. |
static HttpClientConnectionManager |
HttpClientObservationSupport.meteredConnectionManager(HttpClientConnectionManager delegate,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Wraps a classic connection manager with Micrometer pool-lease metrics if
ObservingOptions.MetricSet.CONN_POOL is enabled. |
static DnsResolver |
HttpClientObservationSupport.meteredDnsResolver(DnsResolver delegate,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Wraps a DNS resolver with Micrometer metrics if
ObservingOptions.MetricSet.DNS
is enabled. |
static TlsStrategy |
HttpClientObservationSupport.meteredTlsStrategy(TlsStrategy delegate,
io.micrometer.core.instrument.MeterRegistry meterReg,
ObservingOptions opts,
MetricConfig mc)
Wraps a TLS strategy with Micrometer metrics if
ObservingOptions.MetricSet.TLS
is enabled. |
| Constructor and Description |
|---|
MeteredAsyncConnectionManager(AsyncClientConnectionManager delegate,
io.micrometer.core.instrument.MeterRegistry registry,
MetricConfig mc,
ObservingOptions opts) |
MeteredConnectionManager(HttpClientConnectionManager delegate,
io.micrometer.core.instrument.MeterRegistry registry,
MetricConfig mc,
ObservingOptions opts) |
MeteredDnsResolver(DnsResolver delegate,
io.micrometer.core.instrument.MeterRegistry registry,
MetricConfig mc,
ObservingOptions opts) |
MeteredTlsStrategy(TlsStrategy delegate,
io.micrometer.core.instrument.MeterRegistry registry,
MetricConfig mc,
ObservingOptions opts)
Primary constructor.
|
ObservationAsyncExecInterceptor(io.micrometer.observation.ObservationRegistry registry,
ObservingOptions opts) |
ObservationClassicExecInterceptor(io.micrometer.observation.ObservationRegistry registry,
ObservingOptions opts) |
| Constructor and Description |
|---|
AsyncIoByteCounterExec(io.micrometer.core.instrument.MeterRegistry meterRegistry,
ObservingOptions opts,
MetricConfig mc) |
AsyncTimerExec(io.micrometer.core.instrument.MeterRegistry reg,
ObservingOptions opts,
MetricConfig mc) |
IoByteCounterExec(io.micrometer.core.instrument.MeterRegistry meterRegistry,
ObservingOptions opts,
MetricConfig mc) |
TimerExec(io.micrometer.core.instrument.MeterRegistry reg,
ObservingOptions cfg)
Back-compat: two-arg ctor.
|
TimerExec(io.micrometer.core.instrument.MeterRegistry reg,
ObservingOptions cfg,
MetricConfig mc)
Preferred: honors
MetricConfig. |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.