diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-12 19:49:06 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-12 19:49:06 +0100 |
| commit | a561bb7bf1817e32183d7990494f77f03f8d512a (patch) | |
| tree | ef265fcb2fc317f4337f088443ad3fe7d9fb02e3 | |
| parent | 24b2c4cdb804899e2619437813f2bb29f7c23d04 (diff) | |
| download | processor-a561bb7bf1817e32183d7990494f77f03f8d512a.tar.gz processor-a561bb7bf1817e32183d7990494f77f03f8d512a.zip | |
Revert "add datadog"
This reverts commit a2ffb39e7ba6b83fd778bccf802f9148afd3b4ba.
| -rw-r--r-- | package-lock.json | 5 | ||||
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | worker.js | 8 |
3 files changed, 0 insertions, 14 deletions
diff --git a/package-lock.json b/package-lock.json index 9627125..5957cef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -843,11 +843,6 @@ } } }, - "winston-datadog": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/winston-datadog/-/winston-datadog-1.1.0.tgz", - "integrity": "sha512-f3r1dsqXrK9o5nBRKFWaROf5QkoqJHGY6k0RMuwm4L+Oaab0JnQPGPkVxvJi9E1ylffGOrGFF/d9YCv2IP+IVg==" - }, "winston-loggly-bulk": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/winston-loggly-bulk/-/winston-loggly-bulk-2.0.1.tgz", diff --git a/package.json b/package.json index c8857e7..2c026b2 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "sequelize": "^4.10.2", "uuid": "^3.1.0", "winston": "^2.3.1", - "winston-datadog": "^1.1.0", "winston-loggly-bulk": "^2.0.1" }, "devDependencies": {}, @@ -12,7 +12,6 @@ const amqp = require("amqplib"), Promise = require("bluebird"), uuidV4 = require("uuid/v4"), winston = require("winston"), - datadog = require("winston-datadog"), loggly = require("winston-loggly-bulk"), _snakecase = require("lodash/snakeCase"), Seq = require("sequelize"), @@ -22,7 +21,6 @@ const RABBITMQ_URI = process.env.RABBITMQ_URI, DATABASE_URI = process.env.DATABASE_URI, QUEUE = process.env.QUEUE || "process", LOGGLY_TOKEN = process.env.LOGGLY_TOKEN, - DATADOG_TOKEN = process.env.DATADOG_TOKEN, // matches + players, 5 players with 50 matches as default BATCHSIZE = parseInt(process.env.BATCHSIZE) || 5 * (50 + 1), // maximum number of elements to be inserted in one statement @@ -51,12 +49,6 @@ if (LOGGLY_TOKEN) json: true }); -// datadog integration -if (DATADOG_TOKEN) - logger.add(new datadog({ - api_key: DATADOG_TOKEN - }), null, true); - // MadGlory API uses snakeCase, our db uses camel_case function snakeCaseKeys(obj) { Object.keys(obj).forEach((key) => { |
