Skip to content

Commit 4020529

Browse files
authored
updates Apple experimental features page (#13008)
1 parent 223df75 commit 4020529

File tree

2 files changed

+10
-33
lines changed

2 files changed

+10
-33
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ If <PlatformIdentifier name="trace-propagation-targets" /> is not provided, trac
268268

269269
<Alert>
270270

271-
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).
271+
This feature is experimental and may have bugs. It's available from [version 8.41.0](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8410).
272272

273273
</Alert>
274274

docs/platforms/apple/common/features/experimental-features.mdx

+9-32
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,22 @@ sidebar_order: 2
44
description: "Learn about the experimental features available for Sentry's Apple SDK."
55
---
66

7+
<Alert>
8+
Experimental features are still a work-in-progress and may have bugs. We
9+
recognize the irony.
10+
</Alert>
11+
712
Do you want to try some new experimental features? On the latest version of the Apple SDK, you can:
813

9-
- Enable <PlatformLink to="/tracing/instrumentation/automatic-instrumentation/#time-to-full-display">Time to Full Display (TTFD)</PlatformLink> to gain insight into how long it takes your view controller to launch and load all of its content.
1014
<PlatformSection notSupported={["apple.tvos", "apple.watchos", "apple.visionos"]}>
1115
- Enable <PlatformLink to="/profiling/#enable-launch-profiling">App Launch Profiling</PlatformLink> to get detailed profiles for your app launches.
1216
- Enable <PlatformLink to="/profiling/#continuous-profiling">Continuous Profiling</PlatformLink> to get full coverage of your app's execution.
1317
</PlatformSection>
18+
<PlatformSection notSupported={["apple.macos", "apple.watchos", "apple.visionos"]}>
19+
- Enable <PlatformLink to="/configuration/app-hangs/#app-hangs-v2">AppHangsV2</PlatformLink> to get more detailed app hangs. This differentiates between fully-blocking and non-fully-blocking app hangs, and also tells you the duration of app hangs.
20+
</PlatformSection>
1421
- If you use Swift concurrency, stitch together stack traces of your async code with the `swiftAsyncStacktraces` option. Note that you can enable this in your Objective-C project, but only async code written in Swift will be stitched together.
15-
- Enable <PlatformLink to="/configuration/app-hangs/#app-hangs-v2">AppHangsV2</PlatformLink> to get more detailed app hangs. The main difference is that AppHangsV2 differentiates between fully-blocking and non-fully-blocking app hangs and measures the duration of app hangs.
16-
17-
<Alert>
18-
Experimental features are still a work-in-progress and may have bugs. We
19-
recognize the irony.
20-
</Alert>
21-
22-
```swift {tabTitle:Swift}
23-
import Sentry
24-
25-
SentrySDK.start { options in
26-
// ...
27-
28-
// Enable all experimental features
29-
options.enableTimeToFullDisplayTracing = true
30-
options.enableAppLaunchProfiling = true
31-
options.swiftAsyncStacktraces = true
32-
}
33-
```
34-
35-
```objc {tabTitle:Objective-C}
36-
@import Sentry;
37-
38-
[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
39-
// ...
22+
- Enable the <PlatformLink to="/configuration/options/#enable-persisting-traces-when-crashing">`enablePersistingTracesWhenCrashing`</PlatformLink> option to link ongoing transactions to a crash event when your app crashes.
4023

41-
// Enable all experimental features
42-
options.enableTimeToFullDisplayTracing = YES;
43-
options.enableAppLaunchProfiling = YES;
44-
options.swiftAsyncStacktraces = YES; // only applies to async code in Swift
45-
}];
46-
```
4724

4825
Let us know if you have feedback through [GitHub issues](https://github.com/getsentry/sentry-cocoa/issues).

0 commit comments

Comments
 (0)