Package org.axonframework.springboot
Class TracingProperties
java.lang.Object
org.axonframework.springboot.TracingProperties
Properties describing the settings for tracing.
- Since:
- 4.6.0
- Author:
- Mitchell Herrijgers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefines whichSpanAttributesProviders are enabled.static classConfiguration properties for the behavior of creating tracing spans for theCommandBus.static classConfiguration properties for the behavior of creating tracing spans for theDeadlineManager.static classConfiguration properties for the behavior of creating tracing spans for theEventProcessorimplementations.static classConfiguration properties for the behavior of creating tracing spans for theQueryBus.static classConfiguration properties for the behavior of creating tracing spans for theRepository.static classConfiguration properties for the behavior of creating tracing spans for theAbstractSagaManager.static classConfiguration properties for the behavior of creating tracing spans for theSnapshotter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe value for whichSpanAttributesProviders are enabled.Returns the properties describing the tracing settings for theCommandBus.Returns the properties describing the tracing settings for theDeadlineManager.Returns the properties describing the tracing settings for theEventProcessor.Deprecated.Returns the properties describing the tracing settings for theQueryBus.Returns the properties describing the tracing settings for theRepository.Returns the properties describing the tracing settings for theAbstractSagaManager.Returns the properties describing the tracing settings for theSnapshotter.booleanDeprecated.booleanGetting value for showing event sourcing handlers in traces.voidsetAttributeProviders(TracingProperties.AttributeProviders attributeProviders) Sets the value for whichSpanAttributesProvidersare enabled.voidsetCommandBus(TracingProperties.CommandBusProperties commandBus) Sets the properties describing the tracing settings for theCommandBus.voidsetDeadlineManager(TracingProperties.DeadlineManagerProperties deadlineManager) Sets the properties describing the tracing settings for theDeadlineManager.voidsetEventProcessor(TracingProperties.EventProcessorProperties eventProcessor) Sets the properties describing the tracing settings for theEventProcessor.voidsetNestedHandlers(boolean nestedHandlers) Deprecated.voidsetNestedTimeLimit(Duration nestedTimeLimit) Deprecated.voidSets the properties describing the tracing settings for theQueryBus.voidsetRepository(TracingProperties.RepositoryProperties repository) Sets the properties describing the tracing settings for theRepository.voidsetSagaManager(TracingProperties.SagaManagerProperties sagaManager) Sets the properties describing the tracing settings for theAbstractSagaManager.voidsetShowEventSourcingHandlers(boolean showEventSourcingHandlers) Setting value for showing event sourcing handlers in traces.voidsetSnapshotter(TracingProperties.SnapshotterProperties snapshotter) Sets the properties describing the tracing settings for theSnapshotter.
-
Constructor Details
-
TracingProperties
public TracingProperties()
-
-
Method Details
-
getSnapshotter
Returns the properties describing the tracing settings for theSnapshotter.- Returns:
- the properties describing the tracing settings for the
Snapshotter.
-
setSnapshotter
Sets the properties describing the tracing settings for theSnapshotter.- Parameters:
snapshotter- the properties describing the tracing settings for theSnapshotter.
-
getCommandBus
Returns the properties describing the tracing settings for theCommandBus.- Returns:
- The properties describing the tracing settings for the
CommandBus.
-
setCommandBus
Sets the properties describing the tracing settings for theCommandBus.- Parameters:
commandBus- The properties describing the tracing settings for theCommandBus.
-
getQueryBus
Returns the properties describing the tracing settings for theQueryBus.- Returns:
- the properties describing the tracing settings for the
QueryBus.
-
setQueryBus
Sets the properties describing the tracing settings for theQueryBus.- Parameters:
queryBus- the properties describing the tracing settings for theQueryBus.
-
getDeadlineManager
Returns the properties describing the tracing settings for theDeadlineManager.- Returns:
- the properties describing the tracing settings for the
DeadlineManager.
-
setDeadlineManager
Sets the properties describing the tracing settings for theDeadlineManager.- Parameters:
deadlineManager- the properties describing the tracing settings for theDeadlineManager.
-
getSagaManager
Returns the properties describing the tracing settings for theAbstractSagaManager.- Returns:
- the properties describing the tracing settings for the
AbstractSagaManager.
-
setSagaManager
Sets the properties describing the tracing settings for theAbstractSagaManager.- Parameters:
sagaManager- the properties describing the tracing settings for theAbstractSagaManager.
-
getRepository
Returns the properties describing the tracing settings for theRepository.- Returns:
- the properties describing the tracing settings for the
Repository.
-
setRepository
Sets the properties describing the tracing settings for theRepository.- Parameters:
repository- the properties describing the tracing settings for theRepository.
-
getEventProcessor
Returns the properties describing the tracing settings for theEventProcessor.- Returns:
- The properties describing the tracing settings for the
EventProcessor.
-
setEventProcessor
Sets the properties describing the tracing settings for theEventProcessor.- Parameters:
eventProcessor- The properties describing the tracing settings for theEventProcessor.
-
isShowEventSourcingHandlers
public boolean isShowEventSourcingHandlers()Getting value for showing event sourcing handlers in traces.- Returns:
- Whether event sourcing handlers should show up on traces.
-
setShowEventSourcingHandlers
public void setShowEventSourcingHandlers(boolean showEventSourcingHandlers) Setting value for showing event sourcing handlers in traces.- Parameters:
showEventSourcingHandlers- The new value for showing event sourcing handlers.
-
isNestedHandlers
Deprecated.Getting value for nesting handlers in dispatching traces.- Returns:
- Whether handlers should be nested in dispatching traces
-
setNestedHandlers
Deprecated.Setting value for nesting handlers in dispatching traces.- Parameters:
nestedHandlers- The new value for nesting handlers in dispatching trace.
-
getNestedTimeLimit
Deprecated.The time limit set on nested handlers inside dispatching trace. Only affects events and deadlines, other messages are always nested.- Returns:
- For how long event messages should be nested in their dispatching trace.
-
setNestedTimeLimit
Deprecated.Sets the value for the time limit set on nested handlers inside dispatching trace. Only affects events. Commands and queries are always nested. -
getAttributeProviders
The value for whichSpanAttributesProviders are enabled.- Returns:
- The
TracingProperties.AttributeProvidersvalue.
-
setAttributeProviders
Sets the value for whichSpanAttributesProvidersare enabled.- Parameters:
attributeProviders- The new list ofSpanAttributesProviders.
-
TracingProperties.EventProcessorProperties.getDistributedInSameTraceTimeLimit()instead.