From 143ad08a262e7704a46e685fdcdc31d31bd206a8 Mon Sep 17 00:00:00 2001 From: DIALLO Mamadou Bobo Date: Tue, 10 May 2016 17:06:49 -0700 Subject: [PATCH] Add repeater config --- config.js | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/config.js b/config.js index 9b5f2f1..58bae87 100644 --- a/config.js +++ b/config.js @@ -105,21 +105,16 @@ Optional Variables: changes. The default is true. Set this to false to disable. */ { - debug: false, port: 8125, mgmt_port: 8126, - flushInterval: 60, deleteIdleStats: true, - percentThreshold: [90, 95, 99], + repeater: [ + { + host: `${process.env.REPEATER_HOST}`, + port: `${process.env.REPEATER_PORT}` + } + ], - librato: { - email: `${process.env.LIBRATO_USER}`, - token: `${process.env.LIBRATO_TOKEN}`, - source: `${process.env.LIBRATO_SOURCE}`, - countersAsGauges: false, - alwaysSuffixPercentile: true - }, - - backends: ["statsd-librato-backend"] + backends: ["./backends/repeater"] }