From 8ca2fbf9fdcbd6416eddbc36c9a857819075341b Mon Sep 17 00:00:00 2001 From: Matt Quinn Date: Wed, 15 Jan 2025 16:08:40 -0500 Subject: [PATCH] ref(perf): add a feature flag for the new span schema (#83532) This feature flag will control whether the performance UI uses the new span schema or the legacy one. Closes https://github.com/getsentry/team-performance/issues/54. --- src/sentry/features/temporary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sentry/features/temporary.py b/src/sentry/features/temporary.py index 909e6cf2cbf8b0..4389a6c5a000b5 100644 --- a/src/sentry/features/temporary.py +++ b/src/sentry/features/temporary.py @@ -266,6 +266,8 @@ def register_temporary_features(manager: FeatureManager): manager.add("organizations:performance-metrics-backed-transaction-summary", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False) # Enable the UI for displaying mobile performance score manager.add("organizations:performance-mobile-perf-score-ui", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False) + # Use the new OTel-influenced span schema across the performance product + manager.add("organizations:performance-new-span-schema", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable new trends manager.add("organizations:performance-new-trends", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable updated landing page widget designs