Disable the ADRUM Header
By default, the JavaScript Agent automatically appends the ADRUM header with isAjax: true for the business transaction correlation. However, if your requests are being sent to a third-party server, you might prefer to keep the ADRUM header private. In these cases, disable the ADRUM header to prevent it from being included in requests that are redirected to external servers.
You can disable the ADRUM header in the following ways:
- By using boolean (
disableAdrumHeader: true). - By using
UrlAndMethodFilter. - As an array of
UrlAndMethodFilter.
The following is an example structure to filter objects:
{
"urls": [
{
"pattern": ".*foo.*"
},
{
"pattern": ".*bar.*"
}
],
"method": "GET"
}