Can't create graphs in the dashboard

Asked by Leonard Axelsson

I started using Graphite yesterday so there might be something obvious I'm just missing here (like not using trunk perhaps).

My problem is that I can't get any graphs onto the graphite dashboard. I've added a metric configuration and that seems to find my metrics but nothing happens when I've choosen values for all dropdowns. I expected to either get a graph in the dashboard or perhaps in the empty space next to the context but I get nothing. What am I doing wrong? I've clicked at every menu multiple times and can only surmize that some button is missing for me.

Things that I'm doing that might not be a good idea:
- using the latest graphite trunk (because of the instruction on the homepage)
- running the dev server instead of a real server

Thanks in advance.
/Leonard Axelsson

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Janiszewski
Solved:
Last query:
Last reply:
Revision history for this message
Nicholas Leskiw (nleskiw) said :
#1

Please post the relevant portion of your dashboard.conf and an example of a metric name you're expecting to see in the dashboard.

Revision history for this message
Leonard Axelsson (w-leo) said :
#2

Absolutetly, I've put in snippets of my conf below. I'm expecting to be able to pick up the load metrics in the dashboard and I get dropdowns where I can choose a specific stage or all stages using the * but after I've done that nothing happens.

Kindly,
/Leo

# dashboard.conf
[Servers]
scheme = abc.<stage>.<metric>
stage.label = Load
metric.label = Metric

# schema
[abc]
priority = 100
pattern = ^abc\.
retentions = 10:720,60:4320,600:350400

# metrics
abc.stage1.load
abc.stage2.load
...

Revision history for this message
Leonard Axelsson (w-leo) said :
#3

Actually, this is what the dashboard.conf config looks like:

[Servers]
scheme = abc.<stage>.load
stage.label = Stage

Revision history for this message
Best Michael Janiszewski (janiszewski-michael) said :
#4

You need to have at least one path element available at the end of your scheme - this is what will be populated to the right of the dropdown(s) after you've made selections. For your case above, try

[Servers]
scheme = abc.<stage>
stage.label = Stage

With this, once you have selected Servers from the list you should have your 'load' metrics appearing on the right-hand side, selectable to create dashboard graphs.

Revision history for this message
Leonard Axelsson (w-leo) said :
#5

Thanks Michael Janiszewski, that solved my question.

Revision history for this message
Leonard Axelsson (w-leo) said :
#6

Thanks a lot, that did it!

Re-reading the comments in dashboard.conf I can see how I might have gathered that from it. That part would probably benefit of some clarification, I know I would have needed it at least. Perhaps I can write a suggestion myself if you take contributions.

Kindly,
/Leo