/node-graphite

A node.js client for graphite.

Primary LanguageJavaScript

graphite

Build Status

A node.js client for graphite.

Install

npm install graphite

Usage

Sending data:

var graphite = require('graphite');
var client = graphite.createClient('plaintext://graphite.example.org:2003/');

var metrics = {foo: 23};
client.write(metrics, function(err) {
  // if err is null, your data was sent to graphite!
});

Todo

  • More docs

License

Licensed under the MIT license.