Package io.sentry.opentelemetry
Class OpenTelemetryAttributesExtractor
java.lang.Object
io.sentry.opentelemetry.OpenTelemetryAttributesExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextract(@NotNull io.opentelemetry.sdk.trace.data.SpanData otelSpan, @NotNull io.sentry.IScope scope, @NotNull io.sentry.SentryOptions options) @Nullable StringextractUrl(@NotNull io.opentelemetry.api.common.Attributes attributes, @NotNull io.sentry.SentryOptions options)
-
Constructor Details
-
OpenTelemetryAttributesExtractor
public OpenTelemetryAttributesExtractor()
-
-
Method Details
-
extract
public void extract(@NotNull @NotNull io.opentelemetry.sdk.trace.data.SpanData otelSpan, @NotNull @NotNull io.sentry.IScope scope, @NotNull @NotNull io.sentry.SentryOptions options) -
extractUrl
@Nullable public @Nullable String extractUrl(@NotNull @NotNull io.opentelemetry.api.common.Attributes attributes, @NotNull @NotNull io.sentry.SentryOptions options)
-