From 46417085c82c47ace8a968097987acaec47f6787 Mon Sep 17 00:00:00 2001 From: Kevin Renskers Date: Mon, 28 Nov 2022 18:27:59 +0100 Subject: [PATCH] ref(apple): Rename APM tracking feature flags to tracing See https://github.com/getsentry/sentry-cocoa/pull/2450 --- .../automatic-instrumentation.mdx | 16 ++++++++-------- src/wizard/apple/ios.md | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/platforms/apple/common/performance/instrumentation/automatic-instrumentation.mdx b/src/platforms/apple/common/performance/instrumentation/automatic-instrumentation.mdx index d12dd221ee226..ac3a449576a86 100644 --- a/src/platforms/apple/common/performance/instrumentation/automatic-instrumentation.mdx +++ b/src/platforms/apple/common/performance/instrumentation/automatic-instrumentation.mdx @@ -28,7 +28,7 @@ import Sentry SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" - options.enableUIViewControllerTracking = false + options.enableUIViewControllerTracing = false } ``` @@ -37,7 +37,7 @@ SentrySDK.start { options in [SentrySDK startWithConfigureOptions:^(SentryOptions *options) { options.dsn = @"___PUBLIC_DSN___"; - options.enableUIViewControllerTracking = NO; + options.enableUIViewControllerTracing = NO; }]; ``` @@ -120,7 +120,7 @@ import Sentry SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" - options.enableFileIOTracking = true + options.enableFileIOTracing = true } ``` @@ -129,7 +129,7 @@ SentrySDK.start { options in [SentrySDK startWithConfigureOptions:^(SentryOptions *options) { options.dsn = @"___PUBLIC_DSN___"; - options.enableFileIOTracking = YES; + options.enableFileIOTracing = YES; }]; ``` [NSData]: https://developer.apple.com/documentation/foundation/nsdata @@ -153,7 +153,7 @@ import Sentry SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" - options.enableCoreDataTracking = true + options.enableCoreDataTracing = true } ``` @@ -162,7 +162,7 @@ SentrySDK.start { options in [SentrySDK startWithConfigureOptions:^(SentryOptions *options) { options.dsn = @"___PUBLIC_DSN___"; - options.enableCoreDataTracking = YES; + options.enableCoreDataTracing = YES; }]; ``` @@ -236,7 +236,7 @@ import Sentry SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" - options.enableAutoPerformanceTracking = false + options.enableAutoPerformanceTracing = false } ``` @@ -245,7 +245,7 @@ SentrySDK.start { options in [SentrySDK startWithConfigureOptions:^(SentryOptions *options) { options.dsn = @"___PUBLIC_DSN___"; - options.enableAutoPerformanceTracking = NO; + options.enableAutoPerformanceTracing = NO; }]; ``` diff --git a/src/wizard/apple/ios.md b/src/wizard/apple/ios.md index 513b01c34d13a..56242d8037e5c 100644 --- a/src/wizard/apple/ios.md +++ b/src/wizard/apple/ios.md @@ -105,8 +105,8 @@ SentrySDK.start { options in // ... // Enable all experimental auto instrumentation features - options.enableFileIOTracking = true - options.enableCoreDataTracking = true + options.enableFileIOTracing = true + options.enableCoreDataTracing = true options.enableUserInteractionTracing = true options.enableAppHangTracking = true options.attachScreenshot = true