Skip to content

Commit

Permalink
Update BraveAutoConfiguration.java (#14631)
Browse files Browse the repository at this point in the history
The bean 'correlationFieldsCorrelationScopeCustomizer', defined in class path resource [org/apache/dubbo/spring/boot/observability/autoconfigure/brave/BraveAutoConfiguration$BraveBaggageConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/boot/actuate/autoconfigure/tracing/BravePropagationConfigurations$PropagationWithBaggage.class] and overriding is disabled.
  • Loading branch information
he-jialin authored Sep 6, 2024
1 parent 883c795 commit ac6704d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ brave.baggage.CorrelationScopeDecorator.Builder mdcCorrelationScopeDecoratorBuil
prefix = ObservabilityUtils.DUBBO_TRACING_BAGGAGE_CORRELATION,
name = "enabled",
matchIfMissing = true)
@ConditionalOnMissingBean
brave.baggage.CorrelationScopeCustomizer correlationFieldsCorrelationScopeCustomizer() {
return (builder) -> {
List<String> correlationFields = this.dubboConfigProperties
Expand Down

0 comments on commit ac6704d

Please sign in to comment.