Class TracingProperties.AttributeProviders
java.lang.Object
org.axonframework.extension.springboot.TracingProperties.AttributeProviders
- Enclosing class:
TracingProperties
Toggles for the built-in
SpanAttributesProviders, bound at
axon.tracing.attribute-providers.*. Each toggle decides whether the corresponding provider is
contributed to the SpanAttributesProviderRegistry the SpanFactory is constructed with.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the aggregate-identifier attribute provider is contributed.booleanReturns whether the event-tags attribute provider is contributed.booleanReturns whether the message-id attribute provider is contributed.booleanReturns whether the message-type attribute provider is contributed.booleanReturns whether the metadata attribute provider is contributed.voidsetAggregateIdentifier(boolean aggregateIdentifier) Sets whether the aggregate-identifier attribute provider is contributed.voidsetEventTags(boolean eventTags) Sets whether the event-tags attribute provider is contributed.voidsetMessageId(boolean messageId) Sets whether the message-id attribute provider is contributed.voidsetMessageType(boolean messageType) Sets whether the message-type attribute provider is contributed.voidsetMetadata(boolean metadata) Sets whether the metadata attribute provider is contributed.
-
Constructor Details
-
AttributeProviders
public AttributeProviders()
-
-
Method Details
-
isMessageId
public boolean isMessageId()Returns whether the message-id attribute provider is contributed.- Returns:
truewhen the message-id provider is contributed,falseotherwise
-
setMessageId
public void setMessageId(boolean messageId) Sets whether the message-id attribute provider is contributed.- Parameters:
messageId-trueto contribute the message-id provider,falseto omit it
-
isMessageType
public boolean isMessageType()Returns whether the message-type attribute provider is contributed.- Returns:
truewhen the message-type provider is contributed,falseotherwise
-
setMessageType
public void setMessageType(boolean messageType) Sets whether the message-type attribute provider is contributed.- Parameters:
messageType-trueto contribute the message-type provider,falseto omit it
-
isMetadata
public boolean isMetadata()Returns whether the metadata attribute provider is contributed.- Returns:
truewhen the metadata provider is contributed,falseotherwise
-
setMetadata
public void setMetadata(boolean metadata) Sets whether the metadata attribute provider is contributed.- Parameters:
metadata-trueto contribute the metadata provider,falseto omit it
-
isAggregateIdentifier
public boolean isAggregateIdentifier()Returns whether the aggregate-identifier attribute provider is contributed.- Returns:
truewhen the aggregate-identifier provider is contributed,falseotherwise
-
setAggregateIdentifier
public void setAggregateIdentifier(boolean aggregateIdentifier) Sets whether the aggregate-identifier attribute provider is contributed.- Parameters:
aggregateIdentifier-trueto contribute the aggregate-identifier provider,falseto omit it
-
isEventTags
public boolean isEventTags()Returns whether the event-tags attribute provider is contributed.- Returns:
truewhen the event-tags provider is contributed,falseotherwise
-
setEventTags
public void setEventTags(boolean eventTags) Sets whether the event-tags attribute provider is contributed.- Parameters:
eventTags-trueto contribute the event-tags provider,falseto omit it
-