This commit is contained in:
Moritz Halbritter 2023-06-16 10:36:33 +02:00
parent 929283f4dc
commit c25b084391
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class OpenTelemetryAutoConfiguration {
@Bean
@ConditionalOnMissingBean
SpanProcessors spanProcessors(ObjectProvider<SpanProcessor> spanProcessors) {
return () -> spanProcessors.orderedStream().collect(Collectors.toList());
return SpanProcessors.of(spanProcessors.orderedStream().collect(Collectors.toList()));
}
@Bean