adding newrelic.js and several required config variables if you want to run new relic

This commit is contained in:
Chris McAvoy 2013-11-26 12:45:02 -06:00
Родитель 8316f25692
Коммит fbe7293f89
1 изменённых файлов: 27 добавлений и 0 удалений

27
newrelic.js Normal file
Просмотреть файл

@ -0,0 +1,27 @@
/**
* 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.
*/
var NEWRELIC_LICENSE = process.env('NEWRELIC_LICENSE');
var NEWRELIC_APPNAME = process.env('NEWRELIC_APPNAME');
exports.config = {
/**
* Array of application names.
*/
app_name : [NEWRELIC_APPNAME],
/**
* Your New Relic license key.
*/
license_key : NEWRELIC_LICENSE,
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'
}
};