Add soft sample rates
Closed this issue · 0 comments
robrwo commented
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.