public static enum ObservingOptions.MetricSet extends Enum<ObservingOptions.MetricSet>
TLS and DNS are applied when using
HttpClientObservationSupport.meteredTlsStrategy(org.apache.hc.core5.http.nio.ssl.TlsStrategy, io.micrometer.core.instrument.MeterRegistry, org.apache.hc.client5.http.observation.ObservingOptions, org.apache.hc.client5.http.observation.MetricConfig)
and HttpClientObservationSupport.meteredDnsResolver(org.apache.hc.client5.http.DnsResolver, io.micrometer.core.instrument.MeterRegistry, org.apache.hc.client5.http.observation.ObservingOptions, org.apache.hc.client5.http.observation.MetricConfig)
to wrap the underlying TLS strategy or DNS resolver.
| Modifier and Type | Method and Description |
|---|---|
static ObservingOptions.MetricSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObservingOptions.MetricSet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObservingOptions.MetricSet BASIC
public static final ObservingOptions.MetricSet IO
public static final ObservingOptions.MetricSet CONN_POOL
public static final ObservingOptions.MetricSet TLS
public static final ObservingOptions.MetricSet DNS
public static ObservingOptions.MetricSet[] values()
for (ObservingOptions.MetricSet c : ObservingOptions.MetricSet.values()) System.out.println(c);
public static ObservingOptions.MetricSet valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.