@ConfigurationProperties(value="axon.tracing") public class TracingProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TracingProperties.AttributeProviders
Defines which
SpanAttributesProvider s are enabled. |
static class |
TracingProperties.CommandBusProperties
Configuration properties for the behavior of creating tracing spans for the
CommandBus . |
static class |
TracingProperties.DeadlineManagerProperties
Configuration properties for the behavior of creating tracing spans for the
DeadlineManager . |
static class |
TracingProperties.EventProcessorProperties
Configuration properties for the behavior of creating tracing spans for the
EventProcessor implementations. |
static class |
TracingProperties.QueryBusProperties
Configuration properties for the behavior of creating tracing spans for the
QueryBus . |
static class |
TracingProperties.RepositoryProperties
Configuration properties for the behavior of creating tracing spans for the
Repository . |
static class |
TracingProperties.SagaManagerProperties
Configuration properties for the behavior of creating tracing spans for the
AbstractSagaManager . |
static class |
TracingProperties.SnapshotterProperties
Configuration properties for the behavior of creating tracing spans for the
Snapshotter . |
Constructor and Description |
---|
TracingProperties() |
Modifier and Type | Method and Description |
---|---|
TracingProperties.AttributeProviders |
getAttributeProviders()
The value for which
SpanAttributesProvider s are enabled. |
TracingProperties.CommandBusProperties |
getCommandBus()
Returns the properties describing the tracing settings for the
CommandBus . |
TracingProperties.DeadlineManagerProperties |
getDeadlineManager()
Returns the properties describing the tracing settings for the
DeadlineManager . |
TracingProperties.EventProcessorProperties |
getEventProcessor()
Returns the properties describing the tracing settings for the
EventProcessor . |
Duration |
getNestedTimeLimit()
Deprecated.
Use
EventProcessorProperties#getDistributedInSameTraceTimeLimit() instead. |
TracingProperties.QueryBusProperties |
getQueryBus()
Returns the properties describing the tracing settings for the
QueryBus . |
TracingProperties.RepositoryProperties |
getRepository()
Returns the properties describing the tracing settings for the
Repository . |
TracingProperties.SagaManagerProperties |
getSagaManager()
Returns the properties describing the tracing settings for the
AbstractSagaManager . |
TracingProperties.SnapshotterProperties |
getSnapshotter()
Returns the properties describing the tracing settings for the
Snapshotter . |
boolean |
isNestedHandlers()
Deprecated.
Use
EventProcessorProperties#isDistributedInSameTrace() instead. |
boolean |
isShowEventSourcingHandlers()
Getting value for showing event sourcing handlers in traces.
|
void |
setAttributeProviders(TracingProperties.AttributeProviders attributeProviders)
Sets the value for which
SpanAttributesProviders are
enabled. |
void |
setCommandBus(TracingProperties.CommandBusProperties commandBus)
Sets the properties describing the tracing settings for the
CommandBus . |
void |
setDeadlineManager(TracingProperties.DeadlineManagerProperties deadlineManager)
Sets the properties describing the tracing settings for the
DeadlineManager . |
void |
setEventProcessor(TracingProperties.EventProcessorProperties eventProcessor)
Sets the properties describing the tracing settings for the
EventProcessor . |
void |
setNestedHandlers(boolean nestedHandlers)
Deprecated.
Use
EventProcessorProperties#setDisableBatchTrace(boolean) instead. |
void |
setNestedTimeLimit(Duration nestedTimeLimit)
Deprecated.
Use
EventProcessorProperties#setDistributedInSameTraceTimeLimit(Duration) instead. |
void |
setQueryBus(TracingProperties.QueryBusProperties queryBus)
Sets the properties describing the tracing settings for the
QueryBus . |
void |
setRepository(TracingProperties.RepositoryProperties repository)
Sets the properties describing the tracing settings for the
Repository . |
void |
setSagaManager(TracingProperties.SagaManagerProperties sagaManager)
Sets the properties describing the tracing settings for the
AbstractSagaManager . |
void |
setShowEventSourcingHandlers(boolean showEventSourcingHandlers)
Setting value for showing event sourcing handlers in traces.
|
void |
setSnapshotter(TracingProperties.SnapshotterProperties snapshotter)
Sets the properties describing the tracing settings for the
Snapshotter . |
public TracingProperties.SnapshotterProperties getSnapshotter()
Snapshotter
.Snapshotter
.public void setSnapshotter(TracingProperties.SnapshotterProperties snapshotter)
Snapshotter
.snapshotter
- the properties describing the tracing settings for the Snapshotter
.public TracingProperties.CommandBusProperties getCommandBus()
CommandBus
.CommandBus
.public void setCommandBus(TracingProperties.CommandBusProperties commandBus)
CommandBus
.commandBus
- The properties describing the tracing settings for the CommandBus
.public TracingProperties.QueryBusProperties getQueryBus()
QueryBus
.QueryBus
.public void setQueryBus(TracingProperties.QueryBusProperties queryBus)
QueryBus
.queryBus
- the properties describing the tracing settings for the QueryBus
.public TracingProperties.DeadlineManagerProperties getDeadlineManager()
DeadlineManager
.DeadlineManager
.public void setDeadlineManager(TracingProperties.DeadlineManagerProperties deadlineManager)
DeadlineManager
.deadlineManager
- the properties describing the tracing settings for the
DeadlineManager
.public TracingProperties.SagaManagerProperties getSagaManager()
AbstractSagaManager
.AbstractSagaManager
.public void setSagaManager(TracingProperties.SagaManagerProperties sagaManager)
AbstractSagaManager
.sagaManager
- the properties describing the tracing settings for the
AbstractSagaManager
.public TracingProperties.RepositoryProperties getRepository()
Repository
.Repository
.public void setRepository(TracingProperties.RepositoryProperties repository)
Repository
.repository
- the properties describing the tracing settings for the
Repository
.public TracingProperties.EventProcessorProperties getEventProcessor()
EventProcessor
.EventProcessor
.public void setEventProcessor(TracingProperties.EventProcessorProperties eventProcessor)
EventProcessor
.eventProcessor
- The properties describing the tracing settings for the
EventProcessor
.public boolean isShowEventSourcingHandlers()
public void setShowEventSourcingHandlers(boolean showEventSourcingHandlers)
showEventSourcingHandlers
- The new value for showing event sourcing handlers.@Deprecated public boolean isNestedHandlers()
EventProcessorProperties#isDistributedInSameTrace()
instead.@Deprecated public void setNestedHandlers(boolean nestedHandlers)
EventProcessorProperties#setDisableBatchTrace(boolean)
instead.nestedHandlers
- The new value for nesting handlers in dispatching trace.@Deprecated public Duration getNestedTimeLimit()
EventProcessorProperties#getDistributedInSameTraceTimeLimit()
instead.@Deprecated public void setNestedTimeLimit(Duration nestedTimeLimit)
EventProcessorProperties#setDistributedInSameTraceTimeLimit(Duration)
instead.public TracingProperties.AttributeProviders getAttributeProviders()
SpanAttributesProvider
s are enabled.TracingProperties.AttributeProviders
value.public void setAttributeProviders(TracingProperties.AttributeProviders attributeProviders)
SpanAttributesProviders
are
enabled.attributeProviders
- The new list of
SpanAttributesProviders
.Copyright © 2010–2024. All rights reserved.