0.0.7 • Published 11 years ago

librato-metrics v0.0.7

Weekly downloads
36
License
-
Repository
github
Last release
11 years ago

librato-metrics

A node module for sending data to librato metrics.

Install

npm install librato-metrics

Example

var client = require('librato-metrics').createClient({
  email: 'user@example.org',
  token: '...',
});

client.post('/metrics', {
  gauges: [
    {name: 'metric1', value: 123},
  ],
}, function(err, response) {
  if (err) throw err;

  console.log(response);
});

License

Licensed under the MIT license.