Skip to content

Commit 461d7a4

Browse files
committed
Set performance monitoring to false in App Store builds
1 parent f37a36f commit 461d7a4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
5151
return buildConfig == .localDeveloper || buildConfig == .alpha
5252
case .productsOnboarding:
5353
return buildConfig == .localDeveloper || buildConfig == .alpha
54+
case .performanceMonitoring,
55+
.performanceMonitoringCoreData,
56+
.performanceMonitoringFileIO,
57+
.performanceMonitoringNetworking,
58+
.performanceMonitoringViewController,
59+
.performanceMonitoringUserInteraction:
60+
// Disabled by default to avoid costs spikes, unless in internal testing builds.
61+
return buildConfig == .alpha
5462
default:
5563
return true
5664
}

0 commit comments

Comments
 (0)