Package io.sentry
Class SamplingContext
java.lang.Object
io.sentry.SamplingContext
Context used by
SentryOptions.TracesSamplerCallback
to determine if transaction
is going to be sampled.-
Constructor Summary
ConstructorDescriptionSamplingContext
(@NotNull TransactionContext transactionContext, @Nullable CustomSamplingContext customSamplingContext) -
Method Summary
-
Constructor Details
-
SamplingContext
public SamplingContext(@NotNull @NotNull TransactionContext transactionContext, @Nullable @Nullable CustomSamplingContext customSamplingContext)
-
-
Method Details
-
getCustomSamplingContext
-
getTransactionContext
-