Class CustomSamplerKt
-
- All Implemented Interfaces:
public final class CustomSamplerKt
-
-
Method Summary
Modifier and Type Method Description final static Boolean
defaultSampler(Integer ratio)
Determine if an item should be sampled based on the sampling ratio. -
-
Method Detail
-
defaultSampler
final static Boolean defaultSampler(Integer ratio)
Determine if an item should be sampled based on the sampling ratio.
This function is not used for any purpose requiring cryptographic security.
- Parameters:
ratio
- The sampling ratio.
-
-
-
-