obfuscurity / descartes

Introspective dashboard for Graphite
MIT License
502 stars 65 forks source link

Cannot import dashboards/graphs from Graphite #154

Closed marianogg9 closed 10 years ago

marianogg9 commented 10 years ago

Hi guys. I've just installed Descartes in the same server than Graphite, got Descartes web running but I cannot see my Graphite dashboards or graphs.

Following this issue (https://github.com/obfuscurity/descartes/issues/77) I'm getting a red "?query=*&format=treejson&contexts=1&path= graphite-web.cloud-turner.com.ar/browser/usergraph" when I click in Import Graphs in the inspect element window. Here's a pastebin from the header http://pastebin.com/yKZHGJF7.

Here's my .env file http://pastebin.com/Kuv8UePW Here's my config.ru file http://pastebin.com/w17WD1XD

Any ideas? Thanks!!

marianogg9 commented 10 years ago

@cdgraff

marianogg9 commented 10 years ago

Also (I just noticed it) there's a "XMLHttpRequest cannot load http://graphite-server.domain/browser/usergraph/?query=*&format=treejson&contexts=1&path=. The 'Access-Control-Allow-Origin' whitelists only 'http://127.0.0.1:5000'. Origin 'http://descartes.domain' is not in the list, and is therefore not allowed access. " error in console tab in inspect element. I'm looking into it right now.

marianogg9 commented 10 years ago

Is working now. I've added:

Header set Access-Control-Allow-Origin "http://descartes.domain" in /httpd/conf/httpd.conf

Now (I don't know why) we've two issues: 1- In Descartes > Metrics I only see carbon.agents.graphite_server and no other stat. 2- In Graphite, no graphs are shown. As it's not collecting data from any server.

obfuscurity commented 10 years ago

@Mariano-gon I'm going to close these issues out since they appear to be largely user installation "hurdles".