No line graphs

Asked by pacetownsley

I just installed 0.9.8. Wrote a couple of scripts to send data to both carbon and statsd and everything looks good. The whole process was relatively painless. Sending data to it is easy-peasy and the web interface looks great

The problem I'm having is that I don't get line graphs. It's as though drawAsInfinite is on by default -- I only get straight lines -- and it's making me feel like an idiot because I just don't see what the answer is. What have I do wrong?

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chrismd (chrismd) said :
#1

Can you post an example graph? And also the data returned from appending &rawData=true to the graph's url?

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

Thanks for the response!

This is interesting. I haven't set a default size for graphs yet, and I've been creating them only after maximizing the graph window. When I got your response I created a url to graph my new data starting with the small default graph window up and got back a correctly rendered sloped graph -- just what I'd been looking for. However, when I maximized it to fill the screen I got only dots of the data points with nothing connecting them.

So it seems that my problem is graphs not rendering correctly at larger sizes. I'll still be glad to send the data and the graph if you think that would be helpful, but it looks like the problem is with rendering. I've been doing this from inside the render page. I don't find errors in the logs. Ideas on where to look next? l

Revision history for this message
chrismd (chrismd) said :
#3

Yes it sounds like your storage schema configuration is expecting datapoints more frequently than they are being received. The reason the size of your graph matters is because you are probably graphing a lot of datapoints, more than can fit in the small graph (ie. more datapoints than horizontal pixels). This forces graphite to aggregate adjacent datapoints and so the gaps in your data are probably magically disappearing because of this aggregation. When you maximize and make the graph wider it probably has enough horizontal pixels to draw the raw datapoints (and hence the gaps) without aggregation.

Can you help with this problem?

Provide an answer of your own, or ask pacetownsley for more information if necessary.

To post a message you must log in.