Package io.sentry.util
Class TracingUtils
java.lang.Object
io.sentry.util.TracingUtils
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isIgnored
(@Nullable List<FilterString> ignoredTransactions, @Nullable String transactionName) Checks if a transaction is to be ignored.static @NotNull PropagationContext
maybeUpdateBaggage
(@NotNull IScope scope, @NotNull SentryOptions sentryOptions) static void
startNewTrace
(@NotNull IScopes scopes) static @Nullable TracingUtils.TracingHeaders
trace
(@NotNull IScopes scopes, @Nullable List<String> thirdPartyBaggageHeaders, @Nullable ISpan span) static @Nullable TracingUtils.TracingHeaders
traceIfAllowed
(@NotNull IScopes scopes, @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 IScopes scopes, @Nullable @Nullable List<String> thirdPartyBaggageHeaders, @Nullable @Nullable ISpan span) -
maybeUpdateBaggage
@NotNull public static @NotNull PropagationContext maybeUpdateBaggage(@NotNull @NotNull IScope scope, @NotNull @NotNull SentryOptions sentryOptions) -
isIgnored
@Internal public static boolean isIgnored(@Nullable @Nullable List<FilterString> ignoredTransactions, @Nullable @Nullable String transactionName) Checks if a transaction is to be ignored.
-