cybem/graphite-web-iow


A highly scalable real-time graphing system. IPONWEB repository.

http://graphite.readthedocs.org/en/latest/

License: Apache-2.0

Language: JavaScript


Build Status

Overview

Graphite consists of two major components:

  1. the frontend Django webapp that runs under Apache/mod_wsgi
  2. the backend carbon-cache.py daemon

Client applications connect to the running carbon-cache.py daemon on port 2003 and send it lines of text of the following format:

my.metric.name value unix_timestamp

For example:

performance.servers.www01.cpuUsage 42.5 1208815315

The metric name is like a filesystem path that uses . as a separator instead of /. The value is some scalar integer or floating point value. The unix_timestamp is unix epoch time, as an integer.

Each line like this corresponds to one data point for one metric.

Once you've got some clients sending data to carbon-cache, you can view graphs of that data in the frontend webapp.

Webapp Installation

Use the instructions in the docs/ folder or on readthedocs.

Running carbon-cache.py

First you must tell carbon-cache what user it should run as. This must be a user with write privileges to $GRAPHITE_ROOT/storage/whisper/ Specify the user account in $GRAPHITE_ROOT/carbon/conf/carbon.conf

This user must also have write privileges to $GRAPHITE_ROOT/storage/log/carbon-cache/

Writing a client

First you obviously need to decide what data it is you want to graph with graphite. The script examples/example-client.py demonstrates a simple client that sends loadavg data for your local machine to carbon on a minutely basis.

The default storage schema stores data in one-minute intervals for 2 hours. This is probably not what you want so you should create a custom storage schema according to the docs on the graphite wiki (http://graphite.readthedocs.org/).

Project Statistics

Sourcerank 4
Repository Size 17.9 MB
Stars 2
Forks 1
Watchers 1
Open issues 0
Dependencies 0
Contributors 136
Tags 24
Created
Last updated
Last pushed

Top Contributors See all

chrismd Michael Leinartas Aman Gupta Karmani Jeff Schroeder Bruno Renié Jason Dixon Emergency Self-Construct Dave Rawks Kirill H "Waldo" G Charles Dieter Plaetinck Christopher Bowman Nicholas Leskiw John Dickson Jon Dugan Andrei Ivanov Brian Hatfield Will Maier Dave

Recent Tags See all

0.10.0-alpha-17iow1 April 16, 2015
0.10.0-alpha-16iow1 April 16, 2015
0.10.0-alpha-15iow1 April 01, 2015
0.10.0-alpha-14iow1 April 01, 2015
0.10.0-alpha-13iow1 March 30, 2015
0.10.0-alpha-12iow1 January 16, 2015
0.10.0-alpha-11iow1 January 07, 2015
0.10.0-alpha-10iow1 January 07, 2015
0.10.0-alpha-9iow1 December 23, 2014
0.10.0-alpha-1iow1 November 20, 2014
0.9.11 August 20, 2013
0.9.11-pre2 August 20, 2013
0.9.11-pre1 February 11, 2013
0.9.10 May 31, 2012
0.9.10-pre5 May 29, 2012

Something wrong with this page? Make a suggestion

Last synced: 2016-10-18 15:02:23 UTC

Login to resync this repository