grafana-gnocchi-datasource icon indicating copy to clipboard operation
grafana-gnocchi-datasource copied to clipboard

JSON parsing issues

Open petrutlucian94 opened this issue 6 years ago • 0 comments

Some response jsons will include “Infinity”, which JSON.parse can’t handle.

E.g. "{"measures": {"aggregated": [["2018-10-10T13:10:00+00:00", 300.0, Infinity]]}}"

The plugin could probably replace those occurrences with 1e+99999, avoiding such parsing errors.

petrutlucian94 avatar Oct 11 '18 08:10 petrutlucian94