@Configuration @AutoConfigureBefore(value={AxonTracingAutoConfiguration.class,AxonAutoConfiguration.class}) @ConditionalOnClass(name="org.axonframework.tracing.opentelemetry.OpenTelemetrySpanFactory") public class OpenTelemetryAutoConfiguration extends Object
OpenTelemetrySpanFactory
as the method of providing tracing in Axon Framework.
For this to take effect, the axon-tracing-opentelemetry
dependency must be on the classpath.Constructor and Description |
---|
OpenTelemetryAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
SpanFactory |
spanFactory() |
@Bean @ConditionalOnMissingBean(value=SpanFactory.class) public SpanFactory spanFactory()
Copyright © 2010–2023. All rights reserved.