|
|
|
@ -19,6 +19,7 @@ package org.springframework.boot.actuate.autoconfigure.metrics.web.client;
|
|
|
|
|
import io.micrometer.core.instrument.MeterRegistry;
|
|
|
|
|
import io.micrometer.core.instrument.config.MeterFilter;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.actuate.autoconfigure.metrics.CompositeMeterRegistryAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties;
|
|
|
|
|
import org.springframework.boot.actuate.autoconfigure.metrics.OnlyOnceLoggingDenyMeterFilter;
|
|
|
|
@ -43,8 +44,8 @@ import org.springframework.core.annotation.Order;
|
|
|
|
|
* @since 2.1.0
|
|
|
|
|
*/
|
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
|
@AutoConfigureAfter({ MetricsAutoConfiguration.class, SimpleMetricsExportAutoConfiguration.class,
|
|
|
|
|
RestTemplateAutoConfiguration.class })
|
|
|
|
|
@AutoConfigureAfter({ MetricsAutoConfiguration.class, CompositeMeterRegistryAutoConfiguration.class,
|
|
|
|
|
SimpleMetricsExportAutoConfiguration.class, RestTemplateAutoConfiguration.class })
|
|
|
|
|
@ConditionalOnClass(MeterRegistry.class)
|
|
|
|
|
@ConditionalOnBean(MeterRegistry.class)
|
|
|
|
|
@Import({ RestTemplateMetricsConfiguration.class, WebClientMetricsConfiguration.class })
|
|
|
|
|