Class TracingUtils

java.lang.Object
io.sentry.util.TracingUtils

public final class TracingUtils extends Object
  • Constructor Details

    • TracingUtils

      public TracingUtils()
  • Method Details

    • startNewTrace

      public static void startNewTrace(@NotNull @NotNull IHub hub)
    • traceIfAllowed

      @Nullable public static @Nullable TracingUtils.TracingHeaders traceIfAllowed(@NotNull @NotNull IHub hub, @NotNull @NotNull String requestUrl, @Nullable @Nullable List<String> thirdPartyBaggageHeaders, @Nullable @Nullable ISpan span)
    • trace

      @Nullable public static @Nullable TracingUtils.TracingHeaders trace(@NotNull @NotNull IHub hub, @Nullable @Nullable List<String> thirdPartyBaggageHeaders, @Nullable @Nullable ISpan span)
    • maybeUpdateBaggage

      @NotNull public static @NotNull PropagationContext maybeUpdateBaggage(@NotNull @NotNull IScope scope, @NotNull @NotNull SentryOptions sentryOptions)