Class OpenTelemetryAttributesExtractor

java.lang.Object
io.sentry.opentelemetry.OpenTelemetryAttributesExtractor

@Internal public final class OpenTelemetryAttributesExtractor extends Object
  • Constructor Details

    • OpenTelemetryAttributesExtractor

      public OpenTelemetryAttributesExtractor()
  • Method Details

    • extract

      public void extract(@NotNull @NotNull io.opentelemetry.sdk.trace.data.SpanData otelSpan, @NotNull @NotNull IScope scope, @NotNull @NotNull SentryOptions options)
    • extractUrl

      @Nullable public @Nullable String extractUrl(@NotNull @NotNull io.opentelemetry.api.common.Attributes attributes, @NotNull @NotNull SentryOptions options)