https://github.com/tomnomnom/graphite-client
Really simple plain-text graphite client
https://github.com/tomnomnom/graphite-client
Last synced: about 2 months ago
JSON representation
Really simple plain-text graphite client
- Host: GitHub
- URL: https://github.com/tomnomnom/graphite-client
- Owner: tomnomnom
- Created: 2012-06-23T12:54:04.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-06-23T14:57:00.000Z (almost 13 years ago)
- Last Synced: 2025-01-24T09:08:20.492Z (3 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# graphite-client
A really simple plain-text graphite client module.
## Example usage
Install with:
npm install https://github.com/TomNomNom/graphite-client/tarball/masterExample code:
var graphite = require('graphite-client');
var client = graphite.connect(2003, '127.0.0.1');
setInterval(function(){
var rand = Math.floor(Math.random()*100);
client.send('test.random', rand);
}, 10000);