Skip to content

Commit 7c7b4aa

Browse files
committed
Set performance monitoring to false in App Store builds
1 parent 8af70e5 commit 7c7b4aa

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
@@ -41,6 +41,14 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
4141
return buildConfig == .localDeveloper || buildConfig == .alpha
4242
case .storeCreationMVP:
4343
return buildConfig == .localDeveloper || buildConfig == .alpha
44+
case .performanceMonitoring,
45+
.performanceMonitoringCoreData,
46+
.performanceMonitoringFileIO,
47+
.performanceMonitoringNetworking,
48+
.performanceMonitoringViewController,
49+
.performanceMonitoringUserInteraction:
50+
// Disabled by default to avoid costs spikes, unless in internal testing builds.
51+
return buildConfig == .alpha
4452
default:
4553
return true
4654
}

0 commit comments

Comments
 (0)