-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat(assisted-query): Add metrics search feature flag and forward options #112240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
80e14c4
c143df6
e4e0da6
77da5a6
151c18f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,9 +81,12 @@ def get(self, request: Request, organization: Organization, run_id: str) -> Resp | |
| } | ||
| } | ||
| """ | ||
| if not features.has( | ||
| has_feature = features.has( | ||
| "organizations:gen-ai-search-agent-translate", organization, actor=request.user | ||
| ): | ||
| ) or features.has( | ||
| "organizations:gen-ai-explore-metrics-search", organization, actor=request.user | ||
| ) | ||
|
sentry[bot] marked this conversation as resolved.
cursor[bot] marked this conversation as resolved.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. State endpoint OR logic defeats global killswitch intentMedium Severity The state endpoint uses Additional Locations (1)Reviewed by Cursor Bugbot for commit 77da5a6. Configure here. |
||
| if not has_feature: | ||
| return Response( | ||
| {"detail": "Feature flag not enabled"}, | ||
| status=status.HTTP_403_FORBIDDEN, | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.