render api returning png when asked for json

Asked by Lonnen

I am trying to get JSON data out from my graphite install. When I access `` a png is returned. If I instead access ``` the expected csv is returned, so I'm confident in the query format. Other graphs are rendered as expected, and I don't see any errors in the logs.

I'm running graphite 0.9.8 on python 2.6 and RHEL. I've looked in the docs for historic versions of the render api, but the oldest documentation on read the docs is 0.9.x and it lists json as a valid format.

Question information

English Edit question
Graphite Edit question
No assignee Edit question
Solved by:
Michael Leinartas
Last query:
Last reply:
Revision history for this message
Best Michael Leinartas (mleinartas) said :

json output wasn't added until 0.9.9 so I'm afraid you'll need to upgrade to a more recent version before you can use the json output.

Revision history for this message
Lonnen (chris-lonnen) said :

Thanks Michael Leinartas, that solved my question.