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 Details

  • Constructor Details

    • SentrySpanExporter

      public SentrySpanExporter()
    • SentrySpanExporter

      public SentrySpanExporter(@NotNull @NotNull IScopes scopes)
  • Method Details

    • export

      public io.opentelemetry.sdk.common.CompletableResultCode export(Collection<io.opentelemetry.sdk.trace.data.SpanData> spans)
      Specified by:
      export in interface io.opentelemetry.sdk.trace.export.SpanExporter
    • flush

      public io.opentelemetry.sdk.common.CompletableResultCode flush()
      Specified by:
      flush in interface io.opentelemetry.sdk.trace.export.SpanExporter
    • shutdown

      public io.opentelemetry.sdk.common.CompletableResultCode shutdown()
      Specified by:
      shutdown in interface io.opentelemetry.sdk.trace.export.SpanExporter