Polish "Fix invalid Zipkin Reporter back-off behavior"

See gh-35455
pull/35611/head
Phillip Webb 2 years ago
parent 903e19854d
commit 4072588c29

@ -118,9 +118,9 @@ class ZipkinConfigurations {
static class ReporterConfiguration {
@Bean
@ConditionalOnMissingBean
@ConditionalOnMissingBean(Reporter.class)
@ConditionalOnBean(Sender.class)
Reporter<Span> spanReporter(Sender sender, BytesEncoder<Span> encoder) {
AsyncReporter<Span> spanReporter(Sender sender, BytesEncoder<Span> encoder) {
return AsyncReporter.builder(sender).build(encoder);
}

Loading…
Cancel
Save