Have ideas to improve npm?Join in the discussion! »

    librato-metrics

    0.0.7 • Public • Published

    librato-metrics

    A node module for sending data to librato metrics.

    v0.0.7

    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);
    });

    Test

      make test

    License

    Licensed under the MIT license.

    Keywords

    none

    Install

    npm i librato-metrics

    DownloadsWeekly Downloads

    153

    Version

    0.0.7

    License

    none

    Last publish

    Collaborators

    • avatar
    • avatar