Commit 7c449d03 authored by Alan Szlosek's avatar Alan Szlosek

missed main modules entrypoint

parent f0778981
Pipeline #6793035 failed with stage
in 2 minutes and 45 seconds
module.exports = {
// These need love
IfNotSeen: require('./lib/after'),
Since: require('./lib/since'),
Timeseries: require('./lib/timeseries'),
Parse: {
// would like to move StatsD parser here, too
syslog: require('./lib/parse/syslog')
Input: {
StatsD: require('./lib/input/statsd'),
LineBuffer: require('./lib/line-buffer'),
watchFile: require('./lib/input/file-watcher'),
Throttle: {
// The API for these is inconsistent
InMemory: require('./lib/throttle/memory'),
InRedis: require('./lib/throttle/redis')
createMessage: function(payload, source, remoteAddress, localAddress, localPort) {
return {
payload: payload,
// this is more like "service": statsd, syslog, etc
source: source,
remoteAddress: remoteAddress,
// We may want to track localAddress too, if we're listening on more than 1 interface
localAddress: localAddress,
// We may have multiple listeners for the same service (statsd) on different ports
localPort: localPort,
var harbinger = require('../');
var harbinger = require('../index');
var moment = require('moment');
var redis = require('redis');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment