Numbers Prefer Multiplication

    dogstatsy

    0.0.1 • Public • Published

    dogstatsy

    A simple DogStatsD client.

    Installation

    $ npm install dogstatsy
    

    Example

     
    var Client = require('dogstatsy');
    var http = require('http');
    var stats = new Client({
      service: 'example'
    });
     
    setInterval(function(){
      stats.incr('requests', {
       basic: 'tag'
      });
      var end = stats.timer('request');
      http.get('http://yahoo.com', function(err, res){
        // do stuff
        end({
          statusCode: res.statusCode
        });
      });
    }, 1000);
     

    Install

    npm i dogstatsy

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    ISC

    Last publish

    Collaborators

    • runnabear