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

Filter infinities and NaNs from the returned json #518

Closed
jvshahid opened this issue May 8, 2014 · 3 comments
Closed

Filter infinities and NaNs from the returned json #518

jvshahid opened this issue May 8, 2014 · 3 comments
Milestone

Comments

@jvshahid
Copy link
Contributor

jvshahid commented May 8, 2014

If the stored values, or the result of aggregation return infinity, the entire payload won't serialize properly. We need to filter these values from the response and may be print a warning in the log.

@jvshahid jvshahid added this to the 0.6.2 milestone May 8, 2014
@jvshahid jvshahid self-assigned this May 8, 2014
@damm
Copy link

damm commented May 8, 2014

I don't suppose this will help when you have invalid data stored? Somehow I have a few series that ended up returning NAN's.

Using influxdb-cli for ease here. But this 500's over the HTTP interface as well. Nothing relevant in the log files.

graphite> select value from acheron_livid_dk.ping.ping.ipv6_google_com.value where time > now() - 48h;
graphite> ✘ Error: json: unsupported value: NaN
graphite>

Thanks.

@jvshahid
Copy link
Contributor Author

jvshahid commented May 8, 2014

@damm do you have any continuous queries ?

@damm
Copy link

damm commented May 9, 2014

@jvshahid I have not setup any no.

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

2 participants