From 81ee173877fe02d0e967c10c2da51e001cdda6af Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 13 Oct 2022 12:51:25 +0100 Subject: [PATCH] Polish See gh-32399 --- .../autoconfigure/observation/ObservationAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/ObservationAutoConfiguration.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/ObservationAutoConfiguration.java index df97d94641..a00a6080c6 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/ObservationAutoConfiguration.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/ObservationAutoConfiguration.java @@ -114,7 +114,7 @@ public class ObservationAutoConfiguration { @ConditionalOnMissingBean(MeterObservationHandler.class) static class MeterObservationHandlerConfiguration { - @ConditionalOnMissingBean(Tracer.class) + @ConditionalOnMissingBean(type = "io.micrometer.tracing.Tracer") @Configuration(proxyBeanMethods = false) static class OnlyMetricsMeterObservationHandlerConfiguration {