1.0.0 • Published 9 years ago
graphite-receiver v1.0.0
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'
}
1.0.0
9 years ago