Closed Dieterbe closed 8 years ago
That error message is raised when there is extra junk in the source string after the json.
You can see what the raw response looks like by enabling debug logging in graphite_api and seeing what the fetch_from_tank entry spits out on line 217 in graphite_raintank.py
.
Looking at the graphiteJSON
function in metric_tank/http.go
it looks like there could be scenarios where the JSON it produces is invalid since it never actually checks that an array is non-empty before chopping off the trailing comma, I'm not sure if that could be the cause of this issue though.
that's probably it. will write tests and fix.
on https://app.raintank.io/dashboard/file/rt-endpoint-summary.json?var-collector=All&var-endpoint=dieter_plaetinck_be looking at last 60 days , all graphs load fine except for dns uptime percentage (note: errors and latency graph works fine)