Package org.axonframework.messaging.tracing.attributes
@NullMarked
package org.axonframework.messaging.tracing.attributes
Built-in
SpanAttributesProvider implementations contributing standard
message-derived attributes (identifier, type, metadata, aggregate identifier) to spans.-
ClassDescriptionAdds the aggregate identifier to the span when one is available on the
ProcessingContextviaLegacyResources.AGGREGATE_IDENTIFIER_KEY.Default implementation of theSpanAttributesProviderRegistry, maintaining a list ofSpanAttributesProviderbuilders resolved onDefaultSpanAttributesProviderRegistry.providers(Configuration).Holder for the shared span attribute key under which an entity's identifier is recorded, regardless of whether that entity is a legacy aggregate or a dynamic-consistency-boundary entity.Adds themessage identifierto the span.Adds the message'stype(its qualified name plus version) to the span.Adds message metadata entries to the span, each under the key<prefix><metadataKey>.A registry ofSpanAttributesProviders, collecting the providers aSpanFactoryimplementation is constructed with.