jondot/graphene

Graphene showing no graphs

Closed this issue · 9 comments

Hi,

I am new to Graphene. According to instructions I cloned graphene and copied the graphene folder to webapps folder in Graphite.

Now i tried accessing the .../example/dashboard.html from browser. I can see the page but don't see any graphs with sample data. It just shows me message as follows

A D3.js, Backbone.js based Graphite Dashboard Toolkit.

Could you help me if i am missing anything. could you please send me instruction as what i need to do please.

Thanks in advance.

--Sandeep

Hi & welcome!

To see the demo, you probably need to run the local http proxy.

$ gem install serve
$ serve .

This will create a local HTTP server that serves your files from disk.
Then with your browser go to http://localhost:4000/ and find the example/dashboard.html file.

Then it should work.

Let me know if you need further instructions

Thanks. I am having trouble installing serve using gem. Can I use apache web server?

On Mar 6, 2013, at 12:12 AM, "Dotan J. Nahum" notifications@github.com wrote:

Hi & welcome!

To see the demo, you probably need to run the local http proxy.

$ gem install serve
$ serve .
This will create a local HTTP server that serves your files from disk.
Then with your browser go to http://localhost:4000/ and find the example/dashboard.html file.

Then it should work.

Let me know if you need further instructions


Reply to this email directly or view it on GitHub.

Yes, sure. You can also try python -m SimpleHTTPServer 4000 if you have python installed.

This should be helpful. I would try this and post you findings.

On Mar 7, 2013, at 7:37 AM, "Dotan J. Nahum" notifications@github.com wrote:

Yes, sure. You can also try python -m SimpleHTTPServer 4000 if you have python installed.


Reply to this email directly or view it on GitHub.

Thanks a lot. It works.

On Thu, Mar 7, 2013 at 9:07 AM, sandeep sandeephughes@gmail.com wrote:

This should be helpful. I would try this and post you findings.

On Mar 7, 2013, at 7:37 AM, "Dotan J. Nahum" notifications@github.com
wrote:

Yes, sure. You can also try python -m SimpleHTTPServer 4000 if you have
python installed.


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-14567308
.

Now, I have trouble viewing graphite data in graphene. I added new metrics in example-dash.js. but i is not displaying graphite data.

"Sandeep-Test": {
source: "http://graphite-hostname:8080/render?from=-2hours&until=now&width=400&height=250&target=statsite.kv.servers.sv5bench4-app.cpu.total.system&format=json",
TimeSeries: {
parent: '#g2-2',
}
},

Hi Sandeep, looks like it should work. Do you have any errors in your browser's Javascript console?

Thanks Dotan, I can see graphs now in Graphene.

Sent from my iPhone

On Mar 20, 2013, at 2:03 AM, "Dotan J. Nahum" notifications@github.com wrote:

Hi Sandeep, looks like it should work. Do you have any errors in your browser's Javascript console?


Reply to this email directly or view it on GitHub.

Great!