File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/platforms/apple/common/performance/instrumentation Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,26 @@ The SDK creates spans to provide insight into the time consumed by each of the m
20
20
21
21
![ UIViewController Transaction] ( ui-view-controller-transaction.png )
22
22
23
+ To disable the UIViewController Instrumentation:
24
+
25
+ ``` swift {tabTitle:Swift}
26
+ import Sentry
27
+
28
+ SentrySDK.start { options in
29
+ options.dsn = " ___PUBLIC_DSN___"
30
+ options.enableUIViewControllerTracking = false
31
+ }
32
+ ```
33
+
34
+ ``` objc {tabTitle:Objective-C}
35
+ @import Sentry;
36
+
37
+ [SentrySDK startWithConfigureOptions: ^(SentryOptions * options) {
38
+ options .dsn = @" ___PUBLIC_DSN___" ;
39
+ options .enableUIViewControllerTracking = NO ;
40
+ } ] ;
41
+ ```
42
+
23
43
## App Start Instrumentation
24
44
25
45
This feature is available for iOS, tvOS, and Mac Catalyst.
You can’t perform that action at this time.
0 commit comments