librato-metrics
v0.0.7
Published
A node module for sending data to librato metrics.
Downloads
24
Readme
librato-metrics
A node module for sending data to librato metrics.
Install
npm install librato-metrics
Example
var client = require('librato-metrics').createClient({
email: '[email protected]',
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.