Skip to content

Commit 7dbe46f

Browse files
feat(apple): Add enableTracingWhenCrashing (#11732)
Add docs for the new option enableTracingWhenCrashing.
1 parent 5e1f59c commit 7dbe46f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/platforms/apple/common/configuration/options.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,3 +271,16 @@ String entries do not have to be full matches, meaning the URL of a request is m
271271
If <PlatformIdentifier name="trace-propagation-targets" /> is not provided, trace data is attached to every outgoing request from the instrumented client.
272272

273273
</ConfigKey>
274+
275+
<ConfigKey name="enable-persisting-traces-when-crashing">
276+
277+
278+
<Note>
279+
280+
This feature is experimental, may have bugs and is new in [sentry-cocoa version 8.41.0](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8410).
281+
282+
</Note>
283+
284+
When enabled, the SDK finishes the ongoing transaction bound to the scope and links them to the crash event when your app crashes. The SDK skips adding profiles to increase the chance of keeping the transaction. This option defaults to `false`.
285+
286+
</ConfigKey>

0 commit comments

Comments
 (0)