Skip to content

Commit

Permalink
Newrelic
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Oct 3, 2014
1 parent 25d96b4 commit 3db61c1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions express/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('newrelic');

var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
Expand Down
24 changes: 24 additions & 0 deletions express/newrelic.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* New Relic agent configuration.
*
* See lib/config.defaults.js in the agent distribution for a more complete
* description of configuration variables and their potential values.
*/
exports.config = {
/**
* Array of application names.
*/
app_name : ['Hospital Finder'],
/**
* Your New Relic license key.
*/
license_key : '7e4b428f9f46d4b3a943a3577e636337f35e5ec4',
logging : {
/**
* Level at which to log. 'trace' is most useful to New Relic when diagnosing
* issues with the agent, 'info' and higher will impose the least overhead on
* production applications.
*/
level : 'info'
}
};
1 change: 1 addition & 0 deletions express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"debug": "~2.0.0",
"jade": "~1.6.0",
"node-mysql": "^0.4.0",
"newrelic": "~1.11.3",
"isnumeric": "^0.1.2",
"mysql": "^2.5.1",
"request": "^2.44.0"
Expand Down

0 comments on commit 3db61c1

Please sign in to comment.