jondot / graphene

Graphene is a realtime dashboard & graphing toolkit based on D3 and Backbone.
http://jondot.github.com/graphene
2.87k stars 232 forks source link

Graphene showing no graphs #53

Closed luckyhughes closed 11 years ago

luckyhughes commented 11 years ago

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

jondot commented 11 years ago

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

luckyhughes commented 11 years ago

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.

jondot commented 11 years ago

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

luckyhughes commented 11 years ago

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.

luckyhughes commented 11 years ago

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/jondot/graphene/issues/53#issuecomment-14567308 .

luckyhughes commented 11 years ago

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', } },

jondot commented 11 years ago

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

luckyhughes commented 11 years ago

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.

jondot commented 11 years ago

Great!