diff --git a/newrelic.js b/newrelic.js new file mode 100644 index 00000000..2382ffcc --- /dev/null +++ b/newrelic.js @@ -0,0 +1,22 @@ +exports.config = { + app_name: ['Staging Evolution API'], + license_key: process.env.NEW_RELIC_LICENSE_KEY, + logging: { + level: 'trace' + }, + allow_all_headers: true, + attributes: { + exclude: [ + 'request.headers.cookie', + 'request.headers.authorization', + 'request.headers.proxyAuthorization', + 'request.headers.setCookie*', + 'request.headers.x*', + 'response.headers.cookie', + 'response.headers.authorization', + 'response.headers.proxyAuthorization', + 'response.headers.setCookie*', + 'response.headers.x*' + ] + } +}