Просмотр исходного кода

feat(perf): Add feature flag for new spans UI (#69506)

Adds a feature flag for switching to the new UI for the span summary /
spans tab in txn summary. These pages have been updated with new designs
and leverage the span metrics dataset.
Ash 10 месяцев назад
Родитель
Сommit
fb15c50854
2 измененных файлов с 3 добавлено и 0 удалено
  1. 2 0
      src/sentry/conf/server.py
  2. 1 0
      src/sentry/features/temporary.py

+ 2 - 0
src/sentry/conf/server.py

@@ -1784,6 +1784,8 @@ SENTRY_FEATURES: dict[str, bool | None] = {
     "organizations:performance-streamed-spans-exp-visible": False,
     # Hides some fields and sections in the transaction summary page that are being deprecated
     "organizations:performance-transaction-summary-cleanup": False,
+    # Enables the new UI for span summary and the spans tab
+    "organizations:performance-spans-new-ui": False,
     # Enable processing slow issue alerts
     "organizations:process-slow-alerts": False,
     # Enable profiling

+ 1 - 0
src/sentry/features/temporary.py

@@ -166,6 +166,7 @@ def register_temporary_features(manager: FeatureManager):
     manager.add("organizations:performance-transaction-name-only-search", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
     manager.add("organizations:performance-transaction-name-only-search-indexed", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
     manager.add("organizations:performance-transaction-summary-cleanup", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
+    manager.add("organizations:performance-spans-new-ui", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
     manager.add("organizations:performance-streamed-spans-exp-ingest", OrganizationFeature, FeatureHandlerStrategy.INTERNAL)
     manager.add("organizations:performance-streamed-spans-exp-visible", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
     manager.add("organizations:process-slow-alerts", OrganizationFeature, FeatureHandlerStrategy.INTERNAL)