This will start the application. I'am working on Ubuntu 10.04.
[2012-02-27 16:59:23] INFO WEBrick 1.3.1
[2012-02-27 16:59:23] INFO ruby 1.8.7 (2010-01-10) [i486-linux]
[2012-02-27 16:59:28] INFO WEBrick::HTTPServer#start: pid=15384 port=9292
And 127.0.0.1:9292 shows all OK and listed the dashboard Test there.
But the links on the index page will all go 404, saying "Sinatra doesn’t know this ditty."
For example, the link of the Test dashboard will go to "127.0.0.1:9292/test"
And I tried 127.0.0.1:9292/test/count/ to show a graph defined under test, it will say:
"No dashboard called count found in test/.. "
I have put count.graph with dash.yaml under _graphtemplates/dashboards/test/ and set the path in the config file.
metrics.counter.test.count is a metric for testing in Graphite.
title "Count for Random"
area :first
vtitle "number"
from "-20min"
field :count,
:color => "red",
:alias => "count",
:data => "metrics.counter.test.count"
This will start the application. I'am working on Ubuntu 10.04.
And 127.0.0.1:9292 shows all OK and listed the dashboard Test there.
But the links on the index page will all go 404, saying "Sinatra doesn’t know this ditty." For example, the link of the Test dashboard will go to "127.0.0.1:9292/test"
And I tried 127.0.0.1:9292/test/count/ to show a graph defined under test, it will say:
I have put count.graph with dash.yaml under _graphtemplates/dashboards/test/ and set the path in the config file. metrics.counter.test.count is a metric for testing in Graphite.
Here is the config file