Adding newrelic integration

This commit is contained in:
Colby Gutierrez-Kraybill 2015-10-20 12:54:48 -04:00
parent e5120f37d3
commit d39b691c46
2 changed files with 6 additions and 1 deletions

View file

@ -27,7 +27,8 @@
"express": "4.13.3",
"express-http-proxy": "0.6.0",
"lodash.defaults": "3.1.2",
"mustache": "2.1.3"
"mustache": "2.1.3",
"newrelic": "1.22.1"
},
"devDependencies": {
"autoprefixer-loader": "2.1.0",

View file

@ -1,3 +1,7 @@
if (typeof process.env.NEW_RELIC_LICENSE_KEY === 'string') {
require('newrelic');
}
var compression = require('compression');
var express = require('express');
var proxy = require('express-http-proxy');