Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sampler ¶
type Sampler struct {
// contains filtered or unexported fields
}
Sampler samples the requests, out of 100 sample calls, 100*sampleRate calls will be sampled.
func NewSampler ¶
NewSampler creates a new sampler with a sample rate.
Click to show internal directories.
Click to hide internal directories.