Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mithunsatheesh/djangoless
Use Graphene directly on top of whisper and carbon as a frontend app rather than a dashboard, without the default django app of graphite.
https://github.com/mithunsatheesh/djangoless
Last synced: 20 days ago
JSON representation
Use Graphene directly on top of whisper and carbon as a frontend app rather than a dashboard, without the default django app of graphite.
- Host: GitHub
- URL: https://github.com/mithunsatheesh/djangoless
- Owner: mithunsatheesh
- Created: 2013-03-26T10:24:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-26T10:27:31.000Z (over 11 years ago)
- Last Synced: 2024-04-14T08:06:46.208Z (8 months ago)
- Language: JavaScript
- Size: 387 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Djangoless
Use [Graphene](http://jondot.github.com/graphene/) directly on top of whisper and carbon, without the default django app of graphite. It runs on the same server where graphite is hosted avoiding the need of jsonp or CORS requests for generating the graphene graphs.
This is forked from [whisper-to-me](https://github.com/assaf/whisper-to-me) with graphene dashboard direclty integrated with the app to plot realtime graphs without any pain. Also modified the server side codes to have less dependencies.
To install carbon and whisper.
$ sudo pip install whisper
$ sudo pip install carbon
$ cp /opt/graphite/conf/carbon.conf.example /opt/graphite/conf/carbon.conf
$ cp /opt/graphite/conf/storage-schemas.conf.example /opt/graphite/conf/storage-schemas.confTo get the stuff working, simply configure the graphene dashboard with source attribute set as a relative url. Like
source: "/render/?from=7200&target=stats.application.*"
or metrics separated by `;` and give the unix timestamp from which you need to fetch the data in `from` variable.source: "/render/?from=7200&target=stats.application.a;stats.application.b"
You may find the graphe dashboard config example in the public folder.
Fire up Carbon and start collecting data:$ /opt/graphite/bin/carbon-cache.py start
Now run the Web server with root privillages:
$ node server.js
If your machine stores Whisper files in any other directory, you need to tell the server where to look by setting the
environment variable `GRAPHITE_STORAGE`. The default path is `/opt/graphite/storage`.**Note**
Its is just an experiment and nothing more.