Package io.sentry.util
Class TracingUtils
java.lang.Object
io.sentry.util.TracingUtils
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PropagationContext
maybeUpdateBaggage
(@NotNull IScope scope, @NotNull SentryOptions sentryOptions) static void
startNewTrace
(@NotNull IHub hub) static @Nullable TracingUtils.TracingHeaders
static @Nullable TracingUtils.TracingHeaders
traceIfAllowed
(@NotNull IHub hub, @NotNull String requestUrl, @Nullable List<String> thirdPartyBaggageHeaders, @Nullable ISpan span)
-
Constructor Details
-
TracingUtils
public TracingUtils()
-
-
Method Details
-
startNewTrace
-
traceIfAllowed
-
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)
-