diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-12 19:48:41 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-12 19:48:41 +0100 |
| commit | b49396ee2b987c41c0097a5b1a72cd9d32fa5379 (patch) | |
| tree | 7dac3751ce5f6219ac600694e15d1569989283d6 /worker.js | |
| parent | 1f9a8300fffc1fce10f067d97015c5d3e8ff90d3 (diff) | |
| download | cruncher-b49396ee2b987c41c0097a5b1a72cd9d32fa5379.tar.gz cruncher-b49396ee2b987c41c0097a5b1a72cd9d32fa5379.zip | |
Revert "add datadog"
This reverts commit 1f9a8300fffc1fce10f067d97015c5d3e8ff90d3.
Diffstat (limited to 'worker.js')
| -rw-r--r-- | worker.js | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -15,7 +15,6 @@ const amqp = require("amqplib"), fs = Promise.promisifyAll(require("fs")), winston = require("winston"), loggly = require("winston-loggly-bulk"), - datadog = require("winston-datadog"), sleep = require("sleep-promise"), Seq = require("sequelize"); @@ -24,7 +23,6 @@ const RABBITMQ_URI = process.env.RABBITMQ_URI, QUEUE = process.env.QUEUE || "crunch", SCRIPT = process.env.SCRIPT || "crunch_global.sql", LOGGLY_TOKEN = process.env.LOGGLY_TOKEN, - DATADOG_TOKEN = process.env.DATADOG_TOKEN, // size of connection pool MAXCONNS = parseInt(process.env.MAXCONNS) || 3, // number of participants to calculate at once @@ -53,12 +51,6 @@ if (LOGGLY_TOKEN) json: true }); -// datadog integration -if (DATADOG_TOKEN) - logger.add(new datadog({ - api_key: DATADOG_TOKEN - }), null, true); - amqp.connect(RABBITMQ_URI).then(async (rabbit) => { // connect to rabbit & db |
