Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annoying messages of json: unsupported value: NaN #15

Open
sihara opened this issue Oct 21, 2014 · 4 comments
Open

annoying messages of json: unsupported value: NaN #15

sihara opened this issue Oct 21, 2014 · 4 comments

Comments

@sihara
Copy link

sihara commented Oct 21, 2014

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?

@hoonmin
Copy link
Owner

hoonmin commented Oct 22, 2014

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!

@yanfali
Copy link
Contributor

yanfali commented Jan 14, 2015

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
Copy link
Contributor

yanfali commented Jan 14, 2015

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

golang/go#3480

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

@hoonmin
Copy link
Owner

hoonmin commented Jan 15, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants