Skip to content

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

License

Notifications You must be signed in to change notification settings

safercities/graphite-receiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published