Skip to content

Commit

Permalink
feat(insights): Register feature flag (#71013)
Browse files Browse the repository at this point in the history
This feature flag will control the rollout of renaming Performance
modules to "Insights". This will affect the sidebar navigation, the
routing, and some UI labels.
  • Loading branch information
gggritso authored May 16, 2024
1 parent 2581b12 commit bed18aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sentry/conf/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1893,6 +1893,8 @@ def custom_parameter_sort(parameter: dict) -> tuple[str, int]:
"organizations:starfish-browser-webvitals-replace-fid-with-inp": False,
# Uses a computed total count to calculate the score in the browser starfish webvitals module, instead of measurements.score.total
"organizations:starfish-browser-webvitals-score-computed-total": False,
# Rename current Performance modules to "Insights"
"organizations:performance-insights": False,
# Enable queues module ui
"organizations:performance-queues-view": False,
# Enable browser starfish cache module ui
Expand Down
1 change: 1 addition & 0 deletions src/sentry/features/temporary.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def register_temporary_features(manager: FeatureManager):
manager.add("organizations:performance-discover-widget-split-override-save", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
manager.add("organizations:performance-discover-widget-split-ui", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
manager.add("organizations:performance-file-io-main-thread-detector", OrganizationFeature, FeatureHandlerStrategy.INTERNAL)
manager.add("organizations:performance-insights", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
manager.add("organizations:performance-issues-all-events-tab", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
manager.add("organizations:performance-issues-dev", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
manager.add("organizations:performance-issues-search", OrganizationFeature, FeatureHandlerStrategy.INTERNAL)
Expand Down

0 comments on commit bed18aa

Please sign in to comment.