Class MetadataSpanAttributesProvider
java.lang.Object
org.axonframework.messaging.tracing.attributes.MetadataSpanAttributesProvider
- All Implemented Interfaces:
SpanAttributesProvider
Adds the metadata of the message to the span as attributes.
The values are not serialized to a specific format, rather the Object.toString() method is called on it.
- Since:
- 4.6.0
- Author:
- Mitchell Herrijgers
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MetadataSpanAttributesProvider
public MetadataSpanAttributesProvider()
-
-
Method Details
-
provideForMessage
Description copied from interface:SpanAttributesProvider- Specified by:
provideForMessagein interfaceSpanAttributesProvider- Parameters:
message- The message- Returns:
- The attributes
-