influxdb-collectd-proxy icon indicating copy to clipboard operation
influxdb-collectd-proxy copied to clipboard

annoying messages of json: unsupported value: NaN

Open sihara opened this issue 10 years ago • 4 comments

After proxy started and data transfered from collected to influxdb through proxy, but it keeps to show up folloiwng annoying messages. 2014/10/21 17:56:21 failed to write series group to influxdb: json: unsupported value: NaN 2014/10/21 17:56:22 failed to write series group to influxdb: json: unsupported value: NaN 2014/10/21 17:56:23 failed to write series group to influxdb: json: unsupported value: NaN ... Any solutions to stop these messages?

sihara avatar Oct 21 '14 09:10 sihara

Hi, @sihara ! I think I can working on it this weekend because I'm a little busy this week :-( Could you give me some informations on your environment? (like collectd config and types.db, ...)

Thank you!

hoonmin avatar Oct 22 '14 01:10 hoonmin

Hi @hoonmin I'm seeing these too. It would be great if the log would print out the actual value. I will take a look and see if I can figure out what the value actually is.

yanfali avatar Jan 14 '15 17:01 yanfali

Looking around, it seems this comes from the json/encoder:

https://github.com/golang/go/issues/3480

It is unable to handle null and so displays this message. At this time there isn't a resolution to this issue.

yanfali avatar Jan 14 '15 17:01 yanfali

@yanfali Thank for your time inspect the issue. So we should find some workarounds for this...

hoonmin avatar Jan 15 '15 03:01 hoonmin