Follow these steps to install graphite on OS X Mavericks.
- Homebrew
- Python 2.7
- Git
brew install cairo
brew install py2cairopip install Django==1.5
pip install django-taggingsudo pip install carbon
pip install whisper
sudo pip install graphite-web
sudo pip install Twisted==11.1.0
sudo chown -R <your username>:staff /opt/graphitecp /opt/graphite/conf/carbon.conf{.example,}
cp /opt/graphite/conf/storage-schemas.conf{.example,}cd /opt/graphite/webapp/graphite
# Modify this file to change database backend (default is sqlite).
cp local_settings.py{.example,}
# Initialize database
python manage.py syncdbpython /opt/graphite/bin/carbon-cache.py startpython /opt/graphite/bin/run-graphite-devel-server.py /opt/graphiteGo to:
http://localhost:8080
You should see this if it works properly:
If you get a broken image, it most likely means that something is wrong py2cairo and cairo.
Check the debug output here:
http://localhost:8080/render
Add this to your .bashrc or .bash_profile:
alias carbon='python /opt/graphite/bin/carbon-cache.py'
alias graphite-web='python /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite'

This was a lot of help, thanks! These instructions also work as well for El Capitan.
django-taggingandzope.intertace.pip install cairocffi- Graphite will run without it, but none of your graphs will render (they'll be broken images).I have it setup to run with Cassandra and Grafana and also followed much of the
.iniand.confsetup from this article https://www.pythian.com/blog/monitoring-apache-cassandra-metrics-graphite-grafana/