Package io.sentry.opentelemetry
Class SentrySpanProcessor
java.lang.Object
io.sentry.opentelemetry.SentrySpanProcessor
- All Implemented Interfaces:
io.opentelemetry.sdk.trace.SpanProcessor
,Closeable
,AutoCloseable
@Deprecated
public final class SentrySpanProcessor
extends Object
implements io.opentelemetry.sdk.trace.SpanProcessor
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.boolean
Deprecated.void
onEnd
(@NotNull io.opentelemetry.sdk.trace.ReadableSpan otelSpan) Deprecated.void
onStart
(@NotNull io.opentelemetry.context.Context parentContext, @NotNull io.opentelemetry.sdk.trace.ReadWriteSpan otelSpan) Deprecated.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()Deprecated.
-
-
Method Details
-
onStart
public void onStart(@NotNull @NotNull io.opentelemetry.context.Context parentContext, @NotNull @NotNull io.opentelemetry.sdk.trace.ReadWriteSpan otelSpan) Deprecated.- Specified by:
onStart
in interfaceio.opentelemetry.sdk.trace.SpanProcessor
-
isStartRequired
public boolean isStartRequired()Deprecated.- Specified by:
isStartRequired
in interfaceio.opentelemetry.sdk.trace.SpanProcessor
-
onEnd
public void onEnd(@NotNull @NotNull io.opentelemetry.sdk.trace.ReadableSpan otelSpan) Deprecated.- Specified by:
onEnd
in interfaceio.opentelemetry.sdk.trace.SpanProcessor
-
isEndRequired
public boolean isEndRequired()Deprecated.- Specified by:
isEndRequired
in interfaceio.opentelemetry.sdk.trace.SpanProcessor
-
OtelSentrySpanProcessor
instead.