@AutoConfiguration @AutoConfigureBefore(value={AxonServerAutoConfiguration.class,AxonAutoConfiguration.class}) @EnableConfigurationProperties(value=TracingProperties.class) public class AxonTracingAutoConfiguration extends Object
NoOpSpanFactory
if no other
SpanFactory
bean is configured.
You can define additional SpanAttributesProvider
s by defining your own implementations as a bean or a
Component
. These will be picked up automatically.
OpenTelemetryAutoConfiguration
Constructor and Description |
---|
AxonTracingAutoConfiguration() |
@Bean @ConditionalOnMissingBean(value=SpanFactory.class) public SpanFactory spanFactory()
@Bean @ConditionalOnMissingBean(value=SnapshotterSpanFactory.class) public SnapshotterSpanFactory snapshotterSpanFactory(SpanFactory spanFactory, TracingProperties properties)
@Bean @ConditionalOnMissingBean(value=CommandBusSpanFactory.class) public CommandBusSpanFactory commandBusSpanFactory(SpanFactory spanFactory, TracingProperties properties)
@Bean @ConditionalOnMissingBean(value=QueryBusSpanFactory.class) public QueryBusSpanFactory queryBusSpanFactory(SpanFactory spanFactory, TracingProperties properties)
@Bean @ConditionalOnMissingBean(value=QueryUpdateEmitterSpanFactory.class) public QueryUpdateEmitterSpanFactory queryUpdateEmitterSpanFactory(SpanFactory spanFactory)
@Bean @ConditionalOnMissingBean(value=EventBusSpanFactory.class) public EventBusSpanFactory eventBusSpanFactory(SpanFactory spanFactory)
@Bean @ConditionalOnMissingBean(value=DeadlineManagerSpanFactory.class) public DeadlineManagerSpanFactory deadlineManagerSpanFactory(SpanFactory spanFactory, TracingProperties properties)
@Bean @ConditionalOnMissingBean(value=SagaManagerSpanFactory.class) public SagaManagerSpanFactory sagaManagerSpanFactory(SpanFactory spanFactory, TracingProperties properties)
@Bean @ConditionalOnMissingBean(value=RepositorySpanFactory.class) public RepositorySpanFactory repositorySpanFactory(SpanFactory spanFactory, TracingProperties properties)
@Bean @ConditionalOnMissingBean(value=EventProcessorSpanFactory.class) public EventProcessorSpanFactory eventProcessorSpanFactory(SpanFactory spanFactory, TracingProperties properties)
@Bean public HandlerEnhancerDefinition tracingHandlerEnhancerDefinition(SpanFactory spanFactory, TracingProperties properties)
@Bean public ConfigurerModule configurerModuleForTracing(List<SpanAttributesProvider> spanAttributesProviders)
@Bean @ConditionalOnProperty(value="axon.tracing.attribute-providers.aggregate-identifier", havingValue="true", matchIfMissing=true) public SpanAttributesProvider aggregateIdentifierSpanAttributesProvider()
@Bean @ConditionalOnProperty(value="axon.tracing.attribute-providers.message-id", havingValue="true", matchIfMissing=true) public SpanAttributesProvider messageIdSpanAttributesProvider()
@Bean @ConditionalOnProperty(value="axon.tracing.attribute-providers.message-name", havingValue="true", matchIfMissing=true) public SpanAttributesProvider messageNameSpanAttributesProvider()
@Bean @ConditionalOnProperty(value="axon.tracing.attribute-providers.message-type", havingValue="true", matchIfMissing=true) public SpanAttributesProvider messageTypeSpanAttributesProvider()
@Bean @ConditionalOnProperty(value="axon.tracing.attribute-providers.metadata", havingValue="true", matchIfMissing=true) public SpanAttributesProvider metadataSpanAttributesProvider()
@Bean @ConditionalOnProperty(value="axon.tracing.attribute-providers.payload-type", havingValue="true", matchIfMissing=true) public SpanAttributesProvider payloadTypeSpanAttributesProvider()
Copyright © 2010–2024. All rights reserved.