Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphite Web composer does not load fully, static files missing. #2427

Closed
shirishkale opened this issue Feb 19, 2019 · 14 comments
Closed

Graphite Web composer does not load fully, static files missing. #2427

shirishkale opened this issue Feb 19, 2019 · 14 comments
Labels

Comments

@shirishkale
Copy link

I have installed as per the instructions Carbon, Whisper and Graphite web.
On the graph database neo4j the configuration file has all the required configurations.
Carbon agent seems to be running, it is also capturing the data correctly as I see changes in wsp file sizes
But when I go to graphite web no metric is displayed.

I have been trying for more than a month. Not sure if its an issue with my setup or I amdoing something wrong,

@deniszh
Copy link
Member

deniszh commented Feb 19, 2019

Hi @shirishkale ,
Could you elaborate an issue, please? Is Graphite web interface working at all?
If yes - is any other metric visible?
What is in Graphite logs?

@deniszh
Copy link
Member

deniszh commented Feb 19, 2019

PS: whisper files are preallocated, so, have fixed size and not increasing in size.

@shirishkale
Copy link
Author

Let me further expand on my issue.

I have a POC machine on which I have a 4 node causal cluster, 3 core + 1 read replica. I have followed instructions to install Carbon followed by whisper as well as graphite-web. Once the neo4j causal cluster is started and carbon startup. I see 4 directories populated under "/data/graphite/storage/whisper" named as core1,core2,core3 and readrep1 specifying 4 node metrics captured by prefix which I have added in the neo4j.conf for the respective nodes of my causal cluster.

This was my proof that Carbon and whisper seems to be working? Is there any reason that should not be the case?

Similarly I have installed graphite web, and as per the URL specified when I go there I see this blank graphite website.

image

As per the installation instructions this should have displayed me my metrics but it does not.

@piotr1212
Copy link
Member

piotr1212 commented Feb 19, 2019 via email

@shirishkale
Copy link
Author

No. But when I try to run, it complains there is no module like graphite.settings.

django-admin.py collectstatic --noinput --settings=graphite.settings

@piotr1212
Copy link
Member

Then your Pythonpath is broken

@deniszh
Copy link
Member

deniszh commented Feb 19, 2019 via email

@piotr1212 piotr1212 changed the title Graphite Web does not show any of the captured Neo4j metrics Graphite Web composer does not load fully, static files missing. Feb 19, 2019
@piotr1212
Copy link
Member

I need to make some time to finish this #2409 should solve PYTHONPATH and collectstatic issues.

@shirishkale
Copy link
Author

Then your Pythonpath is broken

Once I fixed the PYTHONPATH and ran collectstatic. Are there any other steps. I restarted graphite-web after collectstatic and still there is no metrics displayed in graphite-web

@deniszh
Copy link
Member

deniszh commented Feb 19, 2019 via email

@shirishkale
Copy link
Author

Thanks Guys. After installing whitenoise, I am able to see the graphs. Thanks for your help

@shirishkale
Copy link
Author

I just uninstalled everything and reinstalled it with the same steps but now in spite of having whitenoise I can not see any data in the graph. In fact the metric is empty even when I can see the files in /data/graphite/storage/whisper.

How to fix this?

@shirishkale
Copy link
Author

I am also getting "WARNING: whisper module could not be loaded, whisper support disabled"
in webapp process.log which was not coming before but now it has started.

@piotr1212
Copy link
Member

You have to install whisper and it must be in your pythonpath (also in the pythonpath of the process running the webapp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants