Class SpanUtils

java.lang.Object
io.sentry.util.SpanUtils

public final class SpanUtils extends Object
  • 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.