@AutoConfiguration
@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(TracingProperties properties) |
@Bean @ConditionalOnMissingBean(value=SpanFactory.class) public SpanFactory spanFactory(TracingProperties properties)
Copyright © 2010–2023. All rights reserved.