0.0.7 • Published 6 years ago

node-stats-aggregator v0.0.7

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

node-stats-aggregator

A stats aggregator for NodeJS with a pluggable output system.

Usage

const StatsAggregator = require('node-stats-aggregator');
const agg = new StatsAggregator('my-aggregator', ['key1', 'key2'], ['val1','val2','val3']);

API

StatsAggregator

//adding output plugins 
agg.plugins.add(new OutputPlugin());

OutputPlugin

Output Plugins

MySql

const mysqlOutput = new StatsAggregator.MysqlOutputPlugin({
    keyFields: ['key1', 'key2'],
    valueFields: ['val1','val2','val3'],
    client: mysqlClient
});

StatsD

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago