peterbourgon/g2s — pull request #7 by xla (2014-09-17 09:51:48+00:00)
Title: Allow sampling only for Counters

StatsD olny allows sampling on Counter metrics. To avoid creating invalid packages packages[0] this change-set adjusts the interfaces of the two mehtods in question.

[0] Illegal sampling factor for non-counter metric on line timer:0|ms|@0.050000