rackerlabs/blueflood-statsd-backend — pull request #8 by tilogaat (2014-12-16 19:32:41+00:00)
Title: Sending all sub-metrics for a timer

Statsd does not send all sub-metrics for a timer that was seen during a previous flush interval, but is not seen in the current flush interval.

for eg: if glork was not seen in the current interval statsd will send us this - glork: { count_ps: 0, count: 0 }

However, Blueflood expects all sub-metrics to be present and errors out if it doesnt see any. Therefore, we fixed the blueflood backend to send all sub-metrics zeroed out, if they are not present in the statsd payload