influxdb/graphite
Mark Guzman b689231183
graphite: log the field name when we encounter a value parse failure
The java metrics library will dump anything and everything to graphite leading to many error messages like:

[graphite] 2015/04/19 10:11:46 unable to parse data: strconv.ParseFloat: parsing "[J@4deff1ac": invalid syntax
[graphite] 2015/04/19 10:11:46 unable to parse data: strconv.ParseFloat: parsing "[J@5b8c4bb5": invalid syntax

It makes sense to include the name field given that the graphite parsing code has already validated the name and tags by the time the value is parsed.
The field name can then be used to filter the offending field from the stats publish.

The ParseFloat related error messages have been modified such they include the field name and the value that was being parsed (value|timestamp).
2015-04-21 23:16:30 -04:00
..
graphite.go graphite: log the field name when we encounter a value parse failure 2015-04-21 23:16:30 -04:00
graphite_tcp.go fix race condition in graphite endpoints 2015-04-21 15:42:25 -06:00
graphite_test.go graphite: log the field name when we encounter a value parse failure 2015-04-21 23:16:30 -04:00
graphite_udp.go fix race condition in graphite endpoints 2015-04-21 15:42:25 -06:00