statsd/statsd

Raw metrics are treated as invalid messages.

Closed this issue · 1 comments

I'm using python-statsd to send out metrics to statsd, and one of metrics used us raw metric type: https://python-statsd.readthedocs.org/en/latest/statsd.raw.html

However when sending this metric, I'm getting following error:

23 Oct 11:29:22 - DEBUG: Bad line: 0.0,r,1414063200 in msg "metric_name:15.0|r|1414063200"

I believe it would be passed on before this change:
63fb16c

Right now I'm forced to mock to pass the message through (add @ to timestamp and pass it as a string) But still value is not passed And I'm not sure if it's because of wrong timestamp then?

this is not a supported metric type in statsd. See https://github.com/etsy/statsd/blob/master/docs/metric_types.md