oneapm.js 927 Bytes
// use for app name
const commonConfig = require('./config/common');

/**
 * OneAPM 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 : [commonConfig.appName], // eslint-disable-line
  /**
   * Your OneAPM license key.
   */
  license_key : 'BwEGA1dRDlQ6357HHQ1AD1xJVkbc9fNfWRtQUwhQG41c5QFWGFIDSQoHc0e8AgMaUlcUVw0=',// eslint-disable-line
  logging : { // eslint-disable-line
    /**
     * 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'// eslint-disable-line
  },
  transaction_events: {// eslint-disable-line
        enabled: true// eslint-disable-line
  }
};