Class SentrySpanProcessor

java.lang.Object
io.sentry.opentelemetry.SentrySpanProcessor
All Implemented Interfaces:
io.opentelemetry.sdk.trace.SpanProcessor, Closeable, AutoCloseable

public final class SentrySpanProcessor extends Object implements io.opentelemetry.sdk.trace.SpanProcessor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    void
    onEnd(@NotNull io.opentelemetry.sdk.trace.ReadableSpan otelSpan)
     
    void
    onStart(@NotNull io.opentelemetry.context.Context parentContext, @NotNull io.opentelemetry.sdk.trace.ReadWriteSpan otelSpan)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.opentelemetry.sdk.trace.SpanProcessor

    close, forceFlush, shutdown
  • Constructor Details

    • SentrySpanProcessor

      public SentrySpanProcessor()
  • Method Details

    • onStart

      public void onStart(@NotNull @NotNull io.opentelemetry.context.Context parentContext, @NotNull @NotNull io.opentelemetry.sdk.trace.ReadWriteSpan otelSpan)
      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(@NotNull @NotNull io.opentelemetry.sdk.trace.ReadableSpan otelSpan)
      Specified by:
      onEnd in interface io.opentelemetry.sdk.trace.SpanProcessor
    • isEndRequired

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