robrwo/Net-Statsd-Tiny

Add soft sample rates

Closed this issue · 0 comments

I am considering adding the ability of "soft" sample rates, e.g.

$stats->increment( { soft_rate => 0.5 }, 'site.hits' );

I'm unsure how in demand this feature it. While I wouldn't be hard to implement, I think it may be an unnecessary complication, especially if it's used with the autoflush option disabled.