Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRandomRatioBased ¶
NewRandomRatioBased creates a sampler based on random number. fraction parameter should be between 0 and 1 where: fraction >= 1 it will always sample fraction <= 0 it will never sample
Types ¶
type RandomRatioBased ¶
func (*RandomRatioBased) Description ¶
func (s *RandomRatioBased) Description() string
func (*RandomRatioBased) ShouldSample ¶
func (s *RandomRatioBased) ShouldSample(p sdktrace.SamplingParameters) sdktrace.SamplingResult
Click to show internal directories.
Click to hide internal directories.