RequestData
Adds data from incoming requests to transaction and error events that occur during request handling done by the backend. (default)
Import name: Sentry.Integrations.RequestData
This integration adds data from incoming requests to transaction and error events that occur during request handling done by the backend.
Please note that this integration is only available on the server.
include
(object)
Controls what types of data are added to the event:
Copied
{
cookies: boolean // default: true,
data: boolean // default: true,
headers: boolean // default: true,
ip: boolean // default: false,
query_string: boolean // default: true,
url: boolean // default: true,
user: boolean | {
id: boolean // default: true,
username: boolean // default: true,
email: boolean // default: true,
},
}
transactionNamingSchema
(string)
Controls how the transaction will be reported. Options are 'path' (/some/route
), 'methodPath' (GET /some/route
), and 'handler' (the name of the route handler function, if available). Defaults to methodPath
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").