The setAnalyticsMask function allows you to modify the request/response headers, body, or query parameters before they are sent to Atatus. You can utilize this function to make alterations such as removing specific header or body fields. It will give you the flexibility to customize the request data that is ultimately sent to Atatus.

Compatibility

Requires Node.js agent version 1.6.1 or higher.

Syntax

Parameter

Example