Class OkHttpMetricsAutoConfiguration
- java.lang.Object
-
- io.freefair.spring.okhttp.metrics.OkHttpMetricsAutoConfiguration
-
@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(org.springframework.boot.actuate.autoconfigure.metrics.CompositeMeterRegistryAutoConfiguration.class) @ConditionalOnProperty(value="okhttp.metrics.enabled", matchIfMissing=true, havingValue="true") @ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnClass({io.micrometer.core.instrument.MeterRegistry.class,io.micrometer.core.instrument.binder.okhttp3.OkHttpMetricsEventListener.class,okhttp3.OkHttpClient.class}) @EnableConfigurationProperties(OkHttpMetricsProperties.class) public class OkHttpMetricsAutoConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OkHttpMetricsAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OkHttpMetricsEventListener
okHttpMetricsEventListener(MeterRegistry meterRegistry, OkHttpMetricsProperties properties)
-
-
-
Method Detail
-
okHttpMetricsEventListener
@Bean @ConditionalOnMissingBean public OkHttpMetricsEventListener okHttpMetricsEventListener(MeterRegistry meterRegistry, OkHttpMetricsProperties properties)
-
-