DataDog/dd-agent — pull request #226 by conorbranagan (2012-10-16 17:26:08+00:00)
Title: Fix metric casting

- Only cast non-numeric values.
- Start by trying to cast to an int and then try float.

* Taken from Sobotka code by @clofresh