metrics-statsmix

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

npm install metrics-statsmix
4 downloads in the last week
5 downloads in the last month

Metrics StatsMix Reporter

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

Example

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.
npm loves you