node package manager


Metrics StatsMix Reporter

A Metrics.js reporter for the StatsMix service that's eg. available as a Heroku addon.


Basic usage with the free addon on Heroku is:

var statsmixClient = new statsmix.Client();
statsmixClient.addMetric('Foo metric', fooCounterMetric, { track : true });

Known issues

  • Default period of reporting stats to StatsMix is based on a single working doing 25 000 requests in a month - multiple workers will have to be adjusted so that the total amount doesn't go above that - something that could be done in multiple ways.