pinclub/pinclub

View on GitHub
oneapm.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * 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
  }
};