Class EndUserSpanProcessor

  • All Implemented Interfaces:
    io.opentelemetry.sdk.trace.SpanProcessor, Closeable, AutoCloseable

    @ApplicationScoped
    public class EndUserSpanProcessor
    extends Object
    implements io.opentelemetry.sdk.trace.SpanProcessor
    • Field Detail

      • securityIdentity

        @Inject
        protected io.quarkus.security.identity.SecurityIdentity securityIdentity
      • managedExecutor

        @Inject
        protected org.eclipse.microprofile.context.ManagedExecutor managedExecutor
    • Constructor Detail

      • EndUserSpanProcessor

        public EndUserSpanProcessor()
    • Method Detail

      • onStart

        @ActivateRequestContext
        public void onStart​(io.opentelemetry.context.Context parentContext,
                            io.opentelemetry.sdk.trace.ReadWriteSpan span)
        Specified by:
        onStart in interface io.opentelemetry.sdk.trace.SpanProcessor
      • isStartRequired

        public boolean isStartRequired()
        Specified by:
        isStartRequired in interface io.opentelemetry.sdk.trace.SpanProcessor
      • onEnd

        public void onEnd​(io.opentelemetry.sdk.trace.ReadableSpan span)
        Specified by:
        onEnd in interface io.opentelemetry.sdk.trace.SpanProcessor
      • isEndRequired

        public boolean isEndRequired()
        Specified by:
        isEndRequired in interface io.opentelemetry.sdk.trace.SpanProcessor