Add New Relic.

pull/18/head
Alex Kern 11 years ago
parent 21d920d83f
commit b4cec71c03

6
.gitignore vendored

@ -30,7 +30,5 @@ node_modules/*
# Compiled assets
css/index.css
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
# New Relic
newrelic.js

@ -1,5 +1,12 @@
#!/usr/bin/env node
try {
require('./newrelic')
require('newrelic')
} catch (ex) {
// Don't load New Relic if the configuration file doesn't exist.
}
require('babel/register')({
only: new RegExp(__dirname + '/lib' + '|' +
__dirname + '/node_modules/filepizza')

@ -27,6 +27,7 @@
"filepizza-peerjs": "^1.0.0",
"filepizza-socket": "^1.0.0",
"morgan": "^1.5.2",
"newrelic": "^1.21.1",
"nib": "^1.1.0",
"node-uuid": "^1.4.3",
"peer": "^0.2.8",

Loading…
Cancel
Save