Package io.sentry

Class SamplingContext

java.lang.Object
io.sentry.SamplingContext

public final class SamplingContext extends Object
Context used by SentryOptions.TracesSamplerCallback to determine if transaction is going to be sampled.
  • Constructor Details

  • Method Details

    • getCustomSamplingContext

      @Nullable public @Nullable CustomSamplingContext getCustomSamplingContext()
    • getTransactionContext

      @NotNull public @NotNull TransactionContext getTransactionContext()