Skip to content

Commit 4072588

Browse files
committed
Polish "Fix invalid Zipkin Reporter back-off behavior"
See gh-35455
1 parent 903e198 commit 4072588

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/zipkin

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/zipkin/ZipkinConfigurations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ ZipkinWebClientSender webClientSender(ZipkinProperties properties,
118118
static class ReporterConfiguration {
119119

120120
@Bean
121-
@ConditionalOnMissingBean
121+
@ConditionalOnMissingBean(Reporter.class)
122122
@ConditionalOnBean(Sender.class)
123-
Reporter<Span> spanReporter(Sender sender, BytesEncoder<Span> encoder) {
123+
AsyncReporter<Span> spanReporter(Sender sender, BytesEncoder<Span> encoder) {
124124
return AsyncReporter.builder(sender).build(encoder);
125125
}
126126

0 commit comments

Comments
 (0)