Skip to content

Commit 923d52c

Browse files
feat(apple): Add UI instrumentation to wizard (#5100)
1 parent 39e7629 commit 923d52c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/wizard/apple/ios.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,19 @@ transaction.finish() // Mark the transaction as finished and send it to Sentry
9494

9595
Check out [the documentation](https://docs.sentry.io/platforms/apple/performance/instrumentation/) to learn more about the API and automatic instrumentations.
9696

97-
> Want to play with some new features? Try out our experimental auto instrumentation for [file I/O](/platforms/apple/performance/instrumentation/automatic-instrumentation/#file-io-instrumentation) and [Core Data](/platforms/apple/performance/instrumentation/automatic-instrumentation/#core-data-instrumentation). Experimental features are still a work-in-progress and may have bugs. We recognize the irony.
97+
> Want to play with some new features? Try out our experimental auto instrumentation for [file I/O](/platforms/apple/performance/instrumentation/automatic-instrumentation/#file-io-instrumentation), [Core Data](/platforms/apple/performance/instrumentation/automatic-instrumentation/#core-data-instrumentation), and [User Interaction Instrumentation](/platforms/apple/performance/instrumentation/automatic-instrumentation/#user-interaction-instrumentation). Experimental features are still a work-in-progress and may have bugs. We recognize the irony.
9898
>
9999
> Let us know if you have feedback through [GitHub issues](https://github.com/getsentry/sentry-cocoa/issues).
100+
101+
```swift {tabTitle:Swift}
102+
import Sentry
103+
104+
SentrySDK.start { options in
105+
// ...
106+
107+
// Enable all experimental auto instrumentation features
108+
options.enableFileIOTracking = true
109+
options.enableCoreDataTracking = true
110+
options.enableUserInteractionTracing = true
111+
}
112+
```

0 commit comments

Comments
 (0)