Showing
1 changed file
with
13 additions
and
27 deletions
1 | -// use for app name | ||
2 | -const commonConfig = require('./config/common'); | ||
3 | - | ||
4 | /** | 1 | /** |
5 | - * OneAPM agent configuration. | ||
6 | - * | ||
7 | - * See lib/config.defaults.js in the agent distribution for a more complete | ||
8 | - * description of configuration variables and their potential values. | 2 | + * OneAPM agent configuration |
9 | */ | 3 | */ |
4 | + | ||
5 | +const commonConfig = require('./config/common'); | ||
6 | + | ||
10 | exports.config = { | 7 | exports.config = { |
11 | - /** | ||
12 | - * Array of application names. | ||
13 | - */ | ||
14 | - app_name : [commonConfig.appName], // eslint-disable-line | ||
15 | - /** | ||
16 | - * Your OneAPM license key. | ||
17 | - */ | ||
18 | - license_key : 'BwEGA1dRDlQ6357HHQ1AD1xJVkbc9fNfWRtQUwhQG41c5QFWGFIDSQoHc0e8AgMaUlcUVw0=',// eslint-disable-line | ||
19 | - logging : { // eslint-disable-line | ||
20 | - /** | ||
21 | - * Level at which to log. 'trace' is most useful to OneAPM when diagnosing | ||
22 | - * issues with the agent, 'info' and higher will impose the least overhead on | ||
23 | - * production applications. | ||
24 | - */ | ||
25 | - level : 'info'// eslint-disable-line | ||
26 | - }, | ||
27 | - transaction_events: {// eslint-disable-line | ||
28 | - enabled: true// eslint-disable-line | ||
29 | - } | ||
30 | -}; | 8 | + app_name: [commonConfig.appName], |
9 | + license_key: 'BwEGA1dRDlQ6357HHQ1AD1xJVkbc9fNfWRtQUwhQG41c5QFWGFIDSQoHc0e8AgMaUlcUVw0=', | ||
10 | + logging: { | ||
11 | + level: 'info' | ||
12 | + }, | ||
13 | + transaction_events: { | ||
14 | + enabled: true | ||
15 | + } | ||
16 | +}; |
-
Please register or login to post a comment