Graphite Webapp Doesn't Show Any Metrics

Asked by Aaron Kirk on 2016-07-07

Hi All,

I seem to be having a problem with the Graphite WebApp.

I'm running Python 2.7 and installed Graphite via pip.

I'm feeding in data and I can see it being added in .wsp files using whisper-fetch.py.

kaaron@clnoc-ntap-amk:/opt/graphite/storage/whisper/netapp-performance/Clusters/CLUS-A/SVMs/infra_CLUS-A/Volumes/CLUS_A_NFS$ whisper-fetch.py AVG_LATENCY.wsp
1467915000 138.663000
1467915300 141.414000
1467915600 136.104000
1467915900 136.198000

The permissions on the directories and files appear to be correct as well:
kaaron@clnoc-ntap-amk:/opt/graphite/storage/whisper$ ls -lat
total 20
drwxr-xr-x 6 www-data www-data 4096 Jul 7 16:55 ..
drwxr-xr-x 3 www-data www-data 4096 Jul 7 12:21 test
drwxr-xr-x 5 www-data www-data 4096 Jul 7 12:21 .
drwxr-xr-x 3 www-data www-data 4096 Jul 7 12:13 netapp-performance
drwxr-xr-x 3 www-data www-data 4096 Jul 7 09:42 carbon

kaaron@clnoc-ntap-amk:/opt/graphite/storage/whisper/netapp-performance/Clusters/CLUS-A/SVMs/infra_CLUS-A/Volumes/CLUS_A_NFS$ ls -lat
total 688
-rw-r--r-- 1 www-data www-data 345628 Jul 7 17:13 AVG_LATENCY.wsp
-rw-r--r-- 1 www-data www-data 345628 Jul 7 17:13 TOTAL_OPS.wsp
drwxr-xr-x 4 www-data www-data 4096 Jul 7 12:28 ..
drwxr-xr-x 2 www-data www-data 4096 Jul 7 12:23 .

The problem is that I don't see any metrics in the web interface. Here's what I see: https://www.dropbox.com/s/j14ltoowq0wwawb/Screenshot_2016-07-07_16.07.53.png?dl=0

Any guess what's going on here?

Thanks,
A

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Kirk
Solved:
2016-07-08
Last query:
2016-07-08
Last reply:
Aaron Kirk (kaaron) said : #1

I think this had something to do with running django 1.9.7...

I've uninstalled Graphite and reinstalled via synthesize and it appears that it will work correctly now.

Jason Dixon (jason-dixongroup) said : #2

Hi Aaron,

Django 1.9 breaks some stuff that Graphite webapp depends on,
specifically for the (web) database. This was recently patched in master
to pin Django to < 1.9.

https://github.com/graphite-project/graphite-web/pull/1555

Thanks,
Jason

On Fri, Jul 08, 2016 at 12:37:18AM -0000, Aaron Kirk wrote:
> Question #296120 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/296120
>
> Status: Open => Solved
>
> Aaron Kirk confirmed that the question is solved:
> I think this had something to do with running django 1.9.7...
>
> I've uninstalled Graphite and reinstalled via synthesize and it appears
> that it will work correctly now.
>
> --
> You received this question notification because your team graphite-dev
> is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp

--
Jason Dixon
http://obfuscurity.com/
https://twitter.com/obfuscurity