Package io.sentry
Interface SentryOptions.TracesSamplerCallback
-
- Enclosing class:
- SentryOptions
public static interface SentryOptions.TracesSamplerCallbackThe traces sampler callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable java.lang.Doublesample(@NotNull SamplingContext samplingContext)Calculates the sampling value used to determine if transaction is going to be sent to Sentry backend.
-
-
-
Method Detail
-
sample
@Nullable @Nullable java.lang.Double sample(@NotNull @NotNull SamplingContext samplingContext)Calculates the sampling value used to determine if transaction is going to be sent to Sentry backend.- Parameters:
samplingContext- the sampling context- Returns:
- sampling value or
nullif decision has not been taken
-
-