Class SampleRateUtils

java.lang.Object
io.sentry.util.SampleRateUtils

@Internal public final class SampleRateUtils extends Object
  • Constructor Details

    • SampleRateUtils

      public SampleRateUtils()
  • Method Details

    • isValidSampleRate

      public static boolean isValidSampleRate(@Nullable @Nullable Double sampleRate)
    • isValidTracesSampleRate

      public static boolean isValidTracesSampleRate(@Nullable @Nullable Double tracesSampleRate)
    • isValidTracesSampleRate

      public static boolean isValidTracesSampleRate(@Nullable @Nullable Double tracesSampleRate, boolean allowNull)
    • isValidProfilesSampleRate

      public static boolean isValidProfilesSampleRate(@Nullable @Nullable Double profilesSampleRate)