mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
31 lines
693 B
JavaScript
31 lines
693 B
JavaScript
/**
|
|
* OneAPM agent configuration.
|
|
*
|
|
* See lib/config.defaults.js in the agent distribution for a more complete
|
|
* description of configuration variables and their potential values.
|
|
*/
|
|
|
|
var config = require('./config');
|
|
|
|
exports.config = {
|
|
/**
|
|
* Array of application names.
|
|
*/
|
|
app_name : [config.name],
|
|
/**
|
|
* Your OneAPM license key.
|
|
*/
|
|
license_key : config.oneapm_key,
|
|
logging : {
|
|
/**
|
|
* Level at which to log. 'trace' is most useful to OneAPM when diagnosing
|
|
* issues with the agent, 'info' and higher will impose the least overhead on
|
|
* production applications.
|
|
*/
|
|
level : 'info'
|
|
},
|
|
transaction_events: {
|
|
enabled: true
|
|
}
|
|
};
|