{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/651","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/651/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/651/events","html_url":"https://github.com/grafana/grafana/issues/651","id":39636338,"number":651,"title":"error when graphite provides `Infinity` data points","user":{"login":"alexdean","id":115486,"avatar_url":"https://avatars.githubusercontent.com/u/115486?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdean","html_url":"https://github.com/alexdean","followers_url":"https://api.github.com/users/alexdean/followers","following_url":"https://api.github.com/users/alexdean/following{/other_user}","gists_url":"https://api.github.com/users/alexdean/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdean/subscriptions","organizations_url":"https://api.github.com/users/alexdean/orgs","repos_url":"https://api.github.com/users/alexdean/repos","events_url":"https://api.github.com/users/alexdean/events{/privacy}","received_events_url":"https://api.github.com/users/alexdean/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2014-08-06T16:01:21Z","updated_at":"2016-09-30T22:05:18Z","closed_at":"2014-08-07T07:03:06Z","body":"### Background\r\n\r\n![screenshot of grafana error](http://img.deanspot.org/monosnap/a/Grafana_-_videometrics-geocoder_2014-08-06_10-52_2014-08-06_10-52.jpg)\r\n\r\nraw data from graphite looks like this:\r\n```json\r\n[{\"target\": \"some.metric.name\", \"datapoints\": [[Infinity, 1407296460], [Infinity, 1407296520], [Infinity, 1407296580]]}]\r\n```\r\n\r\nI think this is actually a graphite bug (`Infinity` isn't a valid JSON value/type), but it would be helpful for grafana to gracefully handle this somehow, or at least to provide a more detailed error message. The error inspector doesn't provide very much.\r\n\r\n![request inspector in grafana](http://img.deanspot.org/monosnap/a/Grafana_-_videometrics-geocoder_2014-08-06_10-56_2014-08-06_10-56.jpg)\r\n\r\nit is possible to see that a JSON parsing error has occurred, but manually reconstructing the graphite URL to get the raw data takes some time. \r\n\r\n### Feature Request\r\n\r\nIt would be helpful if grafana could print the raw data which failed to parse."},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/250863332","html_url":"https://github.com/grafana/grafana/issues/651#issuecomment-250863332","issue_url":"https://api.github.com/repos/grafana/grafana/issues/651","id":250863332,"user":{"login":"rehevkor5","id":16899,"avatar_url":"https://avatars.githubusercontent.com/u/16899?v=3","gravatar_id":"","url":"https://api.github.com/users/rehevkor5","html_url":"https://github.com/rehevkor5","followers_url":"https://api.github.com/users/rehevkor5/followers","following_url":"https://api.github.com/users/rehevkor5/following{/other_user}","gists_url":"https://api.github.com/users/rehevkor5/gists{/gist_id}","starred_url":"https://api.github.com/users/rehevkor5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rehevkor5/subscriptions","organizations_url":"https://api.github.com/users/rehevkor5/orgs","repos_url":"https://api.github.com/users/rehevkor5/repos","events_url":"https://api.github.com/users/rehevkor5/events{/privacy}","received_events_url":"https://api.github.com/users/rehevkor5/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T22:05:18Z","updated_at":"2016-09-30T22:05:18Z","body":"Using `removeBelowValue(..., 0)` appears to be a reasonable workaround for this issue."}}
{"actor":{"display_login":"rehevkor5"}}