Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple node.js library to parse incoming graphite line protocol messages into JSON for further processing

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages