Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

graphite-receiver

securogroup3GPL-2.01.0.0

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

readme

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'
 }