Old Graphite: Difference between revisions
From charlesreid1
| Line 26: | Line 26: | ||
python setup.py build && python setup.py install | python setup.py build && python setup.py install | ||
</pre> | </pre> | ||
=Hello World= | |||
Once you've installed everything, assuming you went with the default installation configuration, graphite will be in <code>/opt/graphite</code>. That includes Graphite web app frontends, Carbon, and Whisper. | |||
Now I'll cover how to get each component running and get simple I/O working. | |||
==Hello Graphite World== | ==Hello Graphite World== | ||
Getting Graphite set up and installed and running and all that: | |||
* http://graphite.readthedocs.org/en/latest/install.html | * http://graphite.readthedocs.org/en/latest/install.html | ||
==Hello Carbon World== | |||
To get Carbon running, you have to start with some configuration files, described on this page: | |||
* http://graphite.readthedocs.org/en/latest/config-carbon.html | |||
Basically, you give some thought to your schema - see this page http://graphite.wikidot.com/getting-your-data-into-graphite for information on what I mean. Decide your time series data naming convention, then decide how much data to gather, at what frequency. | |||
You'll enter information in your <code>storage-schemas.conf</code> file, located in <code>/opt/graphite/conf/storage-schemas.conf</code>. | |||
Revision as of 18:06, 24 June 2014
Prerequisites
PyCairo prerequisite: PyCairo
Installing
Installing Graphite
Git checkout
cd git dir
python setup.py build && python setup.py install
Installing Carbon
python setup.py build && python setup.py install
Installing Whisper
python setup.py build && python setup.py install
Hello World
Once you've installed everything, assuming you went with the default installation configuration, graphite will be in /opt/graphite. That includes Graphite web app frontends, Carbon, and Whisper.
Now I'll cover how to get each component running and get simple I/O working.
Hello Graphite World
Getting Graphite set up and installed and running and all that:
Hello Carbon World
To get Carbon running, you have to start with some configuration files, described on this page:
Basically, you give some thought to your schema - see this page http://graphite.wikidot.com/getting-your-data-into-graphite for information on what I mean. Decide your time series data naming convention, then decide how much data to gather, at what frequency.
You'll enter information in your storage-schemas.conf file, located in /opt/graphite/conf/storage-schemas.conf.