tmm1 / graphite Goto Github PK
View Code? Open in Web Editor NEWgit-bzr mirror of graphite trunk
Home Page: http://launchpad.net/graphite
License: Apache License 2.0
git-bzr mirror of graphite trunk
Home Page: http://launchpad.net/graphite
License: Apache License 2.0
Overview ------------------------------------------------------------------------------- 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 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 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 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.wikidot.com)
Only triggered when an absolute date in 2011 is used. Like from=20111201
. I know this worked a few days ago.
Traceback:
Traceback (most recent call last):
File "/usr/share/graphite/lib/python2.5/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/graphite/webapp/graphite/render/views.py", line 46, in renderView
(graphOptions, requestOptions) = parseOptions(request)
File "/usr/share/graphite/webapp/graphite/render/views.py", line 240, in parseOptions
fromTime = parseATTime( queryParams['from'] )
File "/usr/share/graphite/webapp/graphite/render/attime.py", line 35, in parseATTime
return parseTimeReference(ref) + parseTimeOffset(offset)
File "/usr/share/graphite/webapp/graphite/render/attime.py", line 84, in parseTimeReference
refDate = refDate.replace(year= int(ref[:4]))
ValueError: day is out of range for month
Right not moving graphs between dashboards is impossible (requires re-creating the graph).
would be cool to have a graph operation like "Copy do dashboard" which will dropdown the dashboards list and have the user pick one)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.