notmyname/swift-informant — comment on commit 816579127776cde0354c359282457cab2620d017
File:  line 0
By pandemicsyn:

I like it this way but statsd's expecting the sample rate as a percentage like (0.25, .5, etc) in payload of the packet - https://github.com/etsy/statsd/blob/master/stats.js#L68 , that be easy enough to convert to before sending the event though.

Most of the api's floating around and program's using statsd already ask for the sample rate in the current format. So i think people are probably already used to configuring it like that. So maybe read in the config in the "traditional" format, convert to and use the counter, then send the event with the original sample rate from the config ?