You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop-docs/sdk/data-model/event-payloads/sdk.mdx
+12-1
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,14 @@ activated integrations. Each package consists of a `name` in the format
69
69
`identifier` should be a checkout link and the `version` should be a Git
70
70
reference (branch, tag or SHA).
71
71
72
+
`settings`
73
+
74
+
: _Optional_. A collection of settings that are used to control behaviour.
75
+
-`infer_ip`: Controls the behaviour of IP address inferrence based on request information. Following values are allowed:
76
+
-`auto`: infer the IP address based on available request information. This is equal to [setting the IP address to `{{auto}}`](https://develop.sentry.dev/sdk/data-model/event-payloads/user/#automatic-ip-addresses).
77
+
-`never`: Do not infer the IP address from the request. This is the default if an invalid value for `infer_ip` was sent.
78
+
-`legacy`: Infer the IP address only if the value is `{{auto}}`. For Javascript and Cocoa it will also infer if `ip_address` is empty. This is the default if no value was sent.
79
+
72
80
## Example
73
81
74
82
The following example illustrates the SDK part of the <Linkto="/sdk/data-model/event-payloads/">event payload</Link> and omits other
0 commit comments