Package io.sentry.util
Class SpanUtils
java.lang.Object
io.sentry.util.SpanUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionignoredSpanOriginsForOpenTelemetry
(@NotNull SentryOpenTelemetryMode mode) A list of span origins that are ignored by default when using OpenTelemetry.static boolean
isIgnored
(@Nullable List<FilterString> ignoredOrigins, @Nullable String origin) Checks if a span origin has been ignored.
-
Constructor Details
-
SpanUtils
public SpanUtils()
-
-
Method Details
-
ignoredSpanOriginsForOpenTelemetry
@NotNull public static @NotNull List<String> ignoredSpanOriginsForOpenTelemetry(@NotNull @NotNull SentryOpenTelemetryMode mode) A list of span origins that are ignored by default when using OpenTelemetry.- Returns:
- a list of span origins to be ignored
-
isIgnored
@Internal public static boolean isIgnored(@Nullable @Nullable List<FilterString> ignoredOrigins, @Nullable @Nullable String origin) Checks if a span origin has been ignored.
-