0.0.2 • Published 12 years ago

metrics-statsmix v0.0.2

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

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.