Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

petegallagher/graphite-web

 
 

Repository files navigation

Graphite consists of two major components:

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

Client applications connect to the running carbon-cache.py daemon on port 2003 and send itlines 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 viewgraphs of that data in the frontend webapp.

Webapp Installation

Use the instructions in the INSTALL file.

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 withgraphite. The scriptexamples/example-client.py demonstrates a simple clientthat 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 schemaaccording to the docs on the graphite wiki (http://graphite.wikidot.com).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript76.6%
  • Python16.3%
  • CSS6.8%
  • Other0.3%

[8]ページ先頭

©2009-2025 Movatter.jp