|
|
@ -118,9 +118,9 @@ class ZipkinConfigurations {
|
|
|
|
static class ReporterConfiguration {
|
|
|
|
static class ReporterConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
@ConditionalOnMissingBean
|
|
|
|
@ConditionalOnMissingBean(Reporter.class)
|
|
|
|
@ConditionalOnBean(Sender.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);
|
|
|
|
return AsyncReporter.builder(sender).build(encoder);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|