Uses of Interface
org.axonframework.tracing.Span
Packages that use Span
Package
Description
Classes that implement the concept of command handling using explicit command objects.
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus.Classes related to event sourcing.
-
Uses of Span in org.axonframework.axonserver.connector.query.subscription
Constructors in org.axonframework.axonserver.connector.query.subscription with parameters of type SpanModifierConstructorDescriptionAxonServerSubscriptionQueryResult(SubscriptionQueryMessage<?, ?, ?> queryMessage, io.axoniq.axonserver.connector.query.SubscriptionQueryResult result, SubscriptionMessageSerializer subscriptionSerializer, QueryBusSpanFactory spanFactory, Span parentSpan) Instantiate aAxonServerSubscriptionQueryResultwhich will emit its initial response and the updates of the subscription query. -
Uses of Span in org.axonframework.commandhandling
Methods in org.axonframework.commandhandling that return SpanModifier and TypeMethodDescriptionCommandBusSpanFactory.createDispatchCommandSpan(CommandMessage<?> commandMessage, boolean distributed) Creates a span for the dispatching of a command.DefaultCommandBusSpanFactory.createDispatchCommandSpan(CommandMessage<?> commandMessage, boolean distributed) CommandBusSpanFactory.createHandleCommandSpan(CommandMessage<?> commandMessage, boolean distributed) Creates a span for the handling of a command.DefaultCommandBusSpanFactory.createHandleCommandSpan(CommandMessage<?> commandMessage, boolean distributed) -
Uses of Span in org.axonframework.deadline
Methods in org.axonframework.deadline that return SpanModifier and TypeMethodDescriptionDeadlineManagerSpanFactory.createCancelAllSpan(String deadlineName) Creates a span that represents the cancellation of all deadlines with a certain name.DefaultDeadlineManagerSpanFactory.createCancelAllSpan(String deadlineName) DeadlineManagerSpanFactory.createCancelAllWithinScopeSpan(String deadlineName, ScopeDescriptor scopeDescriptor) Creates a span that represents the cancellation of all deadlines with a certain name within a certain scope.DefaultDeadlineManagerSpanFactory.createCancelAllWithinScopeSpan(String deadlineName, ScopeDescriptor scopeDescriptor) DeadlineManagerSpanFactory.createCancelScheduleSpan(String deadlineName, String deadlineId) Creates a span that represents the cancellation of a specific deadline.DefaultDeadlineManagerSpanFactory.createCancelScheduleSpan(String deadlineName, String deadlineId) DeadlineManagerSpanFactory.createExecuteSpan(String deadlineName, String deadlineId, DeadlineMessage<?> deadlineMessage) Creates a span that represents the execution of a deadline.DefaultDeadlineManagerSpanFactory.createExecuteSpan(String deadlineName, String deadlineId, DeadlineMessage<?> deadlineMessage) DeadlineManagerSpanFactory.createScheduleSpan(String deadlineName, String deadlineId, DeadlineMessage<?> deadlineMessage) Creates a span that represents the scheduling of a deadline.DefaultDeadlineManagerSpanFactory.createScheduleSpan(String deadlineName, String deadlineId, DeadlineMessage<?> deadlineMessage) -
Uses of Span in org.axonframework.eventhandling
Methods in org.axonframework.eventhandling that return SpanModifier and TypeMethodDescriptionDefaultEventProcessorSpanFactory.createBatchSpan(boolean streaming, List<? extends EventMessage<?>> eventMessages) EventProcessorSpanFactory.createBatchSpan(boolean streaming, List<? extends EventMessage<?>> eventMessages) Creates a span for the batch of events that are handled by the event processor.DefaultEventBusSpanFactory.createCommitEventsSpan()EventBusSpanFactory.createCommitEventsSpan()Creates a span for the committing of events.DefaultEventProcessorSpanFactory.createProcessEventSpan(boolean streaming, EventMessage<?> eventMessage) EventProcessorSpanFactory.createProcessEventSpan(boolean streaming, EventMessage<?> eventMessage) Creates a span for the handling of an event.DefaultEventBusSpanFactory.createPublishEventSpan(EventMessage<?> eventMessage) EventBusSpanFactory.createPublishEventSpan(EventMessage<?> eventMessage) Creates a span for the publishing of an event. -
Uses of Span in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing that return SpanModifier and TypeMethodDescriptionDefaultSnapshotterSpanFactory.createCreateSnapshotSpan(String aggregateType, String aggregateIdentifier) SnapshotterSpanFactory.createCreateSnapshotSpan(String aggregateType, String aggregateIdentifier) Creates a newSpanthat represents the actual creation of a snapshot.DefaultSnapshotterSpanFactory.createScheduleSnapshotSpan(String aggregateType, String aggregateIdentifier) SnapshotterSpanFactory.createScheduleSnapshotSpan(String aggregateType, String aggregateIdentifier) Creates a newSpanthat represents the scheduling of snapshot creation to the snapshotter's executor. -
Uses of Span in org.axonframework.modelling.command
Methods in org.axonframework.modelling.command that return SpanModifier and TypeMethodDescriptionDefaultRepositorySpanFactory.createInitializeStateSpan(String aggregateType, String aggregateId) RepositorySpanFactory.createInitializeStateSpan(String aggregateType, String aggregateId) Creates a span that represents the time it took to hydrate the aggregate with data from, for example, the event store.DefaultRepositorySpanFactory.createLoadSpan(String aggregateId) RepositorySpanFactory.createLoadSpan(String aggregateId) Creates a span that represents the loading of an aggregate with the provided identifier.DefaultRepositorySpanFactory.createObtainLockSpan(String aggregateId) RepositorySpanFactory.createObtainLockSpan(String aggregateId) Creates a span that represents the time waiting to acquire a lock on an aggregate with the provided identifier. -
Uses of Span in org.axonframework.modelling.saga
Methods in org.axonframework.modelling.saga that return SpanModifier and TypeMethodDescriptionDefaultSagaManagerSpanFactory.createCreateSagaInstanceSpan(EventMessage<?> event, Class<?> sagaType, String sagaIdentifier) SagaManagerSpanFactory.createCreateSagaInstanceSpan(EventMessage<?> event, Class<?> sagaType, String sagaIdentifier) Creates a span that represents the creation of a new saga instance.DefaultSagaManagerSpanFactory.createInvokeSagaSpan(EventMessage<?> event, Class<?> sagaType, Saga<?> saga) SagaManagerSpanFactory.createInvokeSagaSpan(EventMessage<?> event, Class<?> sagaType, Saga<?> saga) Creates a span that represents the invocation of a saga. -
Uses of Span in org.axonframework.queryhandling
Methods in org.axonframework.queryhandling that return SpanModifier and TypeMethodDescriptionDefaultQueryBusSpanFactory.createQueryProcessingSpan(QueryMessage<?, ?> queryMessage) QueryBusSpanFactory.createQueryProcessingSpan(QueryMessage<?, ?> queryMessage) Creates a span for processing a query.DefaultQueryBusSpanFactory.createQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) QueryBusSpanFactory.createQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) Creates a span for a query.DefaultQueryBusSpanFactory.createResponseProcessingSpan(QueryMessage<?, ?> queryMessage) QueryBusSpanFactory.createResponseProcessingSpan(QueryMessage<?, ?> queryMessage) Creates a span for processing a response.DefaultQueryBusSpanFactory.createScatterGatherHandlerSpan(QueryMessage<?, ?> queryMessage, int handlerIndex) QueryBusSpanFactory.createScatterGatherHandlerSpan(QueryMessage<?, ?> queryMessage, int handlerIndex) Creates a span for one of the handlers of a scatter-gather query.DefaultQueryBusSpanFactory.createScatterGatherSpan(QueryMessage<?, ?> queryMessage, boolean distributed) QueryBusSpanFactory.createScatterGatherSpan(QueryMessage<?, ?> queryMessage, boolean distributed) Creates a span for a scatter-gather query.DefaultQueryBusSpanFactory.createStreamingQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) QueryBusSpanFactory.createStreamingQuerySpan(QueryMessage<?, ?> queryMessage, boolean distributed) Creates a span for a streaming query.DefaultQueryBusSpanFactory.createSubscriptionQueryProcessUpdateSpan(SubscriptionQueryUpdateMessage<?> updateMessage, SubscriptionQueryMessage<?, ?, ?> queryMessage) QueryBusSpanFactory.createSubscriptionQueryProcessUpdateSpan(SubscriptionQueryUpdateMessage<?> updateMessage, SubscriptionQueryMessage<?, ?, ?> queryMessage) Creates a span for processing a subscription query update that has been received from the server.DefaultQueryBusSpanFactory.createSubscriptionQuerySpan(SubscriptionQueryMessage<?, ?, ?> queryMessage, boolean distributed) QueryBusSpanFactory.createSubscriptionQuerySpan(SubscriptionQueryMessage<?, ?, ?> queryMessage, boolean distributed) Creates a span for a subscription query.DefaultQueryUpdateEmitterSpanFactory.createUpdateEmitSpan(SubscriptionQueryUpdateMessage<?> update) QueryUpdateEmitterSpanFactory.createUpdateEmitSpan(SubscriptionQueryUpdateMessage<?> update) Creates a span for the actual emit of a query update when the UnitOfWork commits (or immediately if no UnitOfWork is active).DefaultQueryUpdateEmitterSpanFactory.createUpdateScheduleEmitSpan(SubscriptionQueryUpdateMessage<?> update) QueryUpdateEmitterSpanFactory.createUpdateScheduleEmitSpan(SubscriptionQueryUpdateMessage<?> update) Creates a span for the scheduling of emitting a query update. -
Uses of Span in org.axonframework.tracing
Classes in org.axonframework.tracing that implement SpanMethods in org.axonframework.tracing that return SpanModifier and TypeMethodDescriptionNoOpSpanFactory.NoOpSpan.addAttribute(String key, String value) default SpanSpan.addAttribute(String key, String value) Adds an attribute to the span.default SpanSpanFactory.createChildHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedParents) Creates a newSpanwhich is part of the current trace.LoggingSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) MultiSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) NestingSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) Deprecated.NoOpSpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) SpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) LoggingSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) MultiSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) NestingSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) Deprecated.NoOpSpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) SpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) LoggingSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier) LoggingSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) MultiSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier) MultiSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) NestingSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier) Deprecated.NestingSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) Deprecated.NoOpSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier) NoOpSpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) SpanFactory.createInternalSpan(Supplier<String> operationNameSupplier) Creates a newSpanlinked to the currently active span.SpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) Creates a newSpanlinked to the currently active span.default SpanSpanFactory.createLinkedHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedParents) Creates a newSpanwhich becomes its own separate trace, linked to the previous span.LoggingSpanFactory.createRootTrace(Supplier<String> operationNameSupplier) MultiSpanFactory.createRootTrace(Supplier<String> operationNameSupplier) NestingSpanFactory.createRootTrace(Supplier<String> operationNameSupplier) Deprecated.NoOpSpanFactory.createRootTrace(Supplier<String> operationNameSupplier) SpanFactory.createRootTrace(Supplier<String> operationNameSupplier) Creates a newSpanwithout any parent trace.NoOpSpanFactory.NoOpSpan.recordException(Throwable t) Span.recordException(Throwable t) Records an exception to the span.NoOpSpanFactory.NoOpSpan.start()Span.start()Starts the Span. -
Uses of Span in org.axonframework.tracing.opentelemetry
Classes in org.axonframework.tracing.opentelemetry that implement SpanModifier and TypeClassDescriptionclassSpanimplementation that uses OpenTelemetry'sSpanto provide tracing capabilities to an application.Methods in org.axonframework.tracing.opentelemetry that return SpanModifier and TypeMethodDescriptionOpenTelemetrySpan.addAttribute(String key, String value) OpenTelemetrySpanFactory.createDispatchSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, Message<?>... linkedSiblings) OpenTelemetrySpanFactory.createHandlerSpan(Supplier<String> operationNameSupplier, Message<?> parentMessage, boolean isChildTrace, Message<?>... linkedParents) OpenTelemetrySpanFactory.createInternalSpan(Supplier<String> operationNameSupplier) OpenTelemetrySpanFactory.createInternalSpan(Supplier<String> operationNameSupplier, Message<?> message) OpenTelemetrySpanFactory.createRootTrace(Supplier<String> operationNameSupplier) OpenTelemetrySpan.recordException(Throwable t) OpenTelemetrySpan.start()