зеркало из https://github.com/mozilla/CSOL-site.git
adding newrelic.js and several required config variables if you want to run new relic
This commit is contained in:
Родитель
8316f25692
Коммит
fbe7293f89
|
@ -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'
|
||||
}
|
||||
};
|
Загрузка…
Ссылка в новой задаче