diff --git a/package.json b/package.json index 9e2dde0b21..ea497f587d 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "mongoose": "~3.8.23", "mongoose-id-autoinc": "~2013.7.14-4", "nconf": "~0.6.9", - "newrelic": "~1.23.0", + "newrelic": "~1.25.0", "nib": "~1.0.1", "nodemailer": "~0.5.2", "pageres": "^1.0.1", diff --git a/website/src/libs/utils.js b/website/src/libs/utils.js index 1b1231e102..13cb5e6982 100644 --- a/website/src/libs/utils.js +++ b/website/src/libs/utils.js @@ -174,8 +174,8 @@ module.exports.setupConfig = function(){ if (nconf.get('NODE_ENV') === "development") Error.stackTraceLimit = Infinity; - //if (nconf.get('NODE_ENV') === 'production') - //require('newrelic'); + if (nconf.get('NODE_ENV') === 'production') + require('newrelic'); isProd = nconf.get('NODE_ENV') === 'production'; baseUrl = nconf.get('BASE_URL');