Class TracingHandlerEnhancerDefinition

java.lang.Object
org.axonframework.messaging.tracing.TracingHandlerEnhancerDefinition
All Implemented Interfaces:
HandlerEnhancerDefinition

public class TracingHandlerEnhancerDefinition extends Object implements HandlerEnhancerDefinition
Enhances message handlers with the provided SpanFactory, wrapping handling of the message in a Span that is reported to the monitoring tooling.

Since EventSourcingHandlers can be very noisy when loading the aggregate, they can be enabled or disabled separately through constructor configuration.

Since:
4.6.0
Author:
Mitchell Herrijgers