Merge pull request #34216 from ttddyy

* gh-34216:
  Specify @Order to the defaultTracingObservationHandler bean definition

Closes gh-34216
pull/34503/head
Andy Wilkinson 2 years ago
commit c63e21f951

@ -62,6 +62,7 @@ public class MicrometerTracingAutoConfiguration {
@Bean @Bean
@ConditionalOnMissingBean @ConditionalOnMissingBean
@ConditionalOnBean(Tracer.class) @ConditionalOnBean(Tracer.class)
@Order(DEFAULT_TRACING_OBSERVATION_HANDLER_ORDER)
public DefaultTracingObservationHandler defaultTracingObservationHandler(Tracer tracer) { public DefaultTracingObservationHandler defaultTracingObservationHandler(Tracer tracer) {
return new DefaultTracingObservationHandler(tracer); return new DefaultTracingObservationHandler(tracer);
} }

Loading…
Cancel
Save