Skip to content

Commit

Permalink
New Relic because
Browse files Browse the repository at this point in the history
  • Loading branch information
imakewebthings committed Dec 12, 2013
1 parent ed4432f commit 1d5a303
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('newrelic');
var express = require('express');
var app = express();
var nconf = require('nconf').argv().env().file('config.json');
Expand Down
24 changes: 24 additions & 0 deletions 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 : ['My Application'],
/**
* Your New Relic license key.
*/
license_key : 'license key here',
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 : 'trace'
}
};

0 comments on commit 1d5a303

Please sign in to comment.