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