trouble querying for non png format

Asked by bciceron

hello,

with v0.9.10 the default dashboard works ok but ...

from the command line i cannot get any other format than PNG ,
and it's always default one with "no data" .

so far i tried wget and curl to fetch same data as on dashboard e.g http://localhost:8080/render?target=stats.test&format=json .

any suggestion ?

thanks,
ben-

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
bciceron
Solved:
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :
#1

When you say commandline do you mean wget and curl or the "Graphite CLI" interface?

So when you wget the URL with format=json, do you get back a PNG with no data or something else?

Revision history for this message
bciceron (bciceron) said :
#2

i meant wget/curl.

when i use them i always get the default PNG "no data" (whatever the data i fetch, whatever the format i specify).

Revision history for this message
Michael Leinartas (mleinartas) said :
#3

Aha - Try quoting the URL. If you dont quote it, the ampersand is interpreted by the commandline to mean that you want the prior command backgrounded - the format=json in that case will be left off of the URL sent to graphite

Revision history for this message
bciceron (bciceron) said :
#4

thanks for the suggestion.
yes that's what i am doing.

Revision history for this message
bciceron (bciceron) said :
#5

started to work later on - doing same query , same syntax , same data - no change