Package io.sentry.opentelemetry
Class OpenTelemetryAttributesExtractor
java.lang.Object
io.sentry.opentelemetry.OpenTelemetryAttributesExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
extract
(@NotNull io.opentelemetry.sdk.trace.data.SpanData otelSpan, @NotNull IScope scope, @NotNull SentryOptions options) @Nullable String
extractUrl
(@NotNull io.opentelemetry.api.common.Attributes attributes, @NotNull SentryOptions options)
-
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)
-