Skip to content

exposebox/node-stats-aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A stats aggregator for NodeJS with a pluggable output system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •