mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Polish "Fix invalid Zipkin Reporter back-off behavior"
See gh-35455
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user