Package io.sentry.opentelemetry
Class SentrySpanExporter
java.lang.Object
io.sentry.opentelemetry.SentrySpanExporter
- All Implemented Interfaces:
io.opentelemetry.sdk.trace.export.SpanExporter
,Closeable
,AutoCloseable
public final class SentrySpanExporter
extends Object
implements io.opentelemetry.sdk.trace.export.SpanExporter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.sdk.common.CompletableResultCode
export
(Collection<io.opentelemetry.sdk.trace.data.SpanData> spans) io.opentelemetry.sdk.common.CompletableResultCode
flush()
io.opentelemetry.sdk.common.CompletableResultCode
shutdown()
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.export.SpanExporter
close
-
Field Details
-
TRACE_ORIGIN
- See Also:
-
-
Constructor Details
-
SentrySpanExporter
public SentrySpanExporter() -
SentrySpanExporter
-
-
Method Details
-
export
public io.opentelemetry.sdk.common.CompletableResultCode export(Collection<io.opentelemetry.sdk.trace.data.SpanData> spans) - Specified by:
export
in interfaceio.opentelemetry.sdk.trace.export.SpanExporter
-
flush
public io.opentelemetry.sdk.common.CompletableResultCode flush()- Specified by:
flush
in interfaceio.opentelemetry.sdk.trace.export.SpanExporter
-
shutdown
public io.opentelemetry.sdk.common.CompletableResultCode shutdown()- Specified by:
shutdown
in interfaceio.opentelemetry.sdk.trace.export.SpanExporter
-