tim-group / java-statsd-client

a java statsd client library
Other
275 stars 139 forks source link

sampling is implemented incorrectly #34

Open mcfunley opened 9 years ago

mcfunley commented 9 years ago

This client sends a sample rate over the wire, but doesn't sample the packets sent. One bad result of this is that e.g. calling count('foo', 1, 0.5) causes foo to be double-counted.

See PR 33, which fixes this issue.