mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
Add Newrelic instrumentation configuration file
This commit is contained in:
parent
287f04116c
commit
a8f9ab634a
22
newrelic.js
Normal file
22
newrelic.js
Normal file
@ -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*'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user