Is webapp compulsory?

Asked by Jai Gupta on 2012-08-18

Because of our complex requirements we can not use built in webapp. We plan on building a dashboad using graphene or cubism or D3 modules.

It looks like we have to use webapp if we want to use render/URL api. Because we intend to use D3 module there is no point is installing cairo. Even when we only need URL api, to make webapp work we have to install cairo.

I have looked for various plugins mentioned in tools section. Is there any scripts available which provide plain URL api?
Or can render/URL api scripts be stripped out from webapp easily?

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
2012-08-18
Last reply:
2012-08-29
Michael Leinartas (mleinartas) said : #1

There's no way right now to configure the webapp to run without cairo. While it wont be used if you're not rendering PNG or SVG, it's still imported and the failed import will cause the webapp to fail to run. I suspect you could just comment out the import in glyph.py or install a dummy module in your python site-packages and it would just work, though I've never tried.

You may find it helpful to have this installed and working though as none of the external tools for rendering will allow you to easily browse and compose graphs. The workflow for alternative dashboards tends to begin with composing a graph with the graphite composer and then configuring the resulting URL in a dashboard.

Can you help with this problem?

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

To post a message you must log in.