-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comments
Hi @shirishkale , |
PS: whisper files are preallocated, so, have fixed size and not increasing in size. |
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. As per the installation instructions this should have displayed me my metrics but it does not. |
Static files are missong. Did you run collectstatic?
…On Tue, 19 Feb 2019, 20:13 Shirish Kale ***@***.*** wrote:
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: image]
<https://user-images.githubusercontent.com/7253980/53040848-749d3a80-3450-11e9-9dac-f85cbe40a590.png>
As per the installation instructions this should have displayed me my
metrics but it does not.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2427 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACxrWsmRSwA_0YFj4c7kiqGnzostGyIrks5vPEzugaJpZM4bDX-W>
.
|
No. But when I try to run, it complains there is no module like graphite.settings. django-admin.py collectstatic --noinput --settings=graphite.settings |
Then your Pythonpath is broken |
Are you running this command in /opt/graphite directory?
You can also install whitenoise module. Check this answer on stackowerflow
-
https://stackoverflow.com/a/44734510
…On Tue, 19 Feb 2019 at 20:53, Shirish Kale ***@***.***> wrote:
No. But when I try to run, it complains there is no module like
graphite.settings.
django-admin.py collectstatic --noinput --settings=graphite.settings
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2427 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABK51jPd9dXocvwozW_a79ILGTwbwpWyks5vPFYmgaJpZM4bDX-W>
.
|
I need to make some time to finish this #2409 should solve PYTHONPATH and collectstatic issues. |
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 |
Did you check link which I mentioned?
You need to set up serving for static files from webserver or you can try
whitenoise module.
…On Tue, 19 Feb 2019 at 21:18, Shirish Kale ***@***.***> wrote:
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
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2427 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABK51rKE7dGi4rG1rFawuv6EcGO8VmSXks5vPFwVgaJpZM4bDX-W>
.
|
Thanks Guys. After installing whitenoise, I am able to see the graphs. Thanks for your help |
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? |
I am also getting "WARNING: whisper module could not be loaded, whisper support disabled" |
You have to install whisper and it must be in your pythonpath (also in the pythonpath of the process running the webapp) |
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,
The text was updated successfully, but these errors were encountered: