Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

metrics-statsmix

0.0.2 • Public • Published

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.

Keywords

none

install

npm i metrics-statsmix

Downloadsweekly downloads

0

version

0.0.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability