Interface: AddRequestDataToEventOptions

sentry.AddRequestDataToEventOptions

Options deciding what parts of the request to use when enhancing an event

Properties

deps

Optional deps: Object

Injected platform-specific dependencies

Type declaration

Name Type
cookie { parse: (cookieStr: string) => Record<string, string> }
cookie.parse (cookieStr: string) => Record<string, string>
url { parse: (urlStr: string) => { query: null | string } }
url.parse (urlStr: string) => { query: null | string }

include

Optional include: Object

Flags controlling whether each type of data should be added to the event

Type declaration

Name Type
ip? boolean
request? boolean | string[]
transaction? boolean | TransactionNamingScheme
user? boolean | string[]