Closed andri-ch closed 11 years ago
did you follow the "Configuration of graph-explorer" instructions in the readme?
Ok, found the solution!
But first, some detective work: When I ran $: sudo python ./update_metrics.py I got this error: 2013-05-23 12:38:06,810 - update_metrics - INFO - fetching/saving metrics from graphite... 2013-05-23 12:41:16,613 - update_metrics - ERROR - sorry, something went wrong: < urlopen error [Errno 110] Connection timed out >
I noticed that update_metrics.py makes a request to http://path_to_graphite/metrics/index.json. But in the browser, when I went to that address, I got(from what I recall): IOError: permission denied: open('/opt/graphite/storage/index', 'w')
Solution: create the file named 'index': $: sudo touch /opt/graphite/storage/index and when you run update_metrics.py, data should be fetched from graphite.
so basically you had an issue with your graphite setup.. your index file had the wrong permissions. Just touching it doesn't seem like a good solution (rather chmod), but whatever.
Btw G-E doesn't need root..
Hi, Congratulations for graph-explorer!
I have one issue: I have a working graphite+diamond installation. I installed graph-explorer, started it, but in browser when I go to http://localhost:8080/debug, I get the message: server is waiting until structured metrics dataset is ready. can't continue
How could I address this? In the graph-explorer's docs, there's a mention to a file named "metrics.json". I don't have that file. From what I understand, graphite is supposed to create that.
Andrei