Skip to content

Commit 39d08a2

Browse files
authored
chore(discover-migration): Make ff for exposing migrated discover queries in explore (#95435)
Preparing for discover -> explore migration by just setting up feature flags. Setting up this feature flag to expose migrated discover queries in the explore saved queries table. This will be used in the backend (to return the migrated queries from the explore saved queries endpoint if they have the feature flag) and frontend (to ensure we are displaying the information/warnings that we'll need once queries are migrated)
1 parent a8df3cd commit 39d08a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sentry/features/temporary.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ def register_temporary_features(manager: FeatureManager):
124124
manager.add("organizations:escalating-issues-v2", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=False)
125125
# Enable emiting escalating data to the metrics backend
126126
manager.add("organizations:escalating-metrics-backend", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=False)
127+
# Enable returning the migrated discover queries in explore saved queries
128+
manager.add("organizations:expose-migrated-discover-queries", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
127129
# Enable GenAI features such as Autofix and Issue Summary
128130
manager.add("organizations:gen-ai-features", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
129131
# Enable the 'generate me a query' functionality on the explore > traces page

0 commit comments

Comments
 (0)