1.0.0 • Published 9 years ago

graphite-receiver v1.0.0

Weekly downloads
1
License
GPL-2.0
Repository
github
Last release
9 years ago

graphite-splitter

Small utility to act as a plaintext carbon backend and emit metrics when they're received.

Example:

var config = {
	port: 7777
};

var graphiteSplitter = require('../index.js')(config);

graphiteSplitter.on('metric', console.log);

Outputs:

{ 
  metric: 'local.random.diceroll',
  value: '4',
  timestamp: '1442363704'
 }