Opentelemetry_client.SamplerBasic random sampling.
val create : proba_accept:float -> unit -> tcreate ~proba_accept:n () makes a new sampler.
The sampler will accept signals with probability n (must be between 0 and 1).
val accept : t -> boolDo we accept a sample? This returns true with probability proba_accept.
val proba_accept : t -> floatval actual_rate : t -> floatThe ratio of signals we actually accepted so far. This should asymptotically be equal to proba_accept if the random generator is good.