quipo / statsd

Golang StatsD client
MIT License
164 stars 51 forks source link

Use scalable and efficient sampler #46

Closed g7r closed 2 years ago

g7r commented 7 years ago

The sampler may now be passed to statsd.StatsdClient to redefine sampling behaviour. The default sampler uses pool of random number generators in order to be efficient and scalable. The other provided sampler statsd.SyncSampler is a little bit more efficient in non-contended cases but doesn't scale.

g7r commented 6 years ago

@quipo Should I give up on this PR?