Skip to content

chore(flags): Remove unused organizations:performance-use-metrics feature flag#112758

Merged
wedamija merged 2 commits intomasterfrom
danf/remove-performance-use-metrics
Apr 14, 2026
Merged

chore(flags): Remove unused organizations:performance-use-metrics feature flag#112758
wedamija merged 2 commits intomasterfrom
danf/remove-performance-use-metrics

Conversation

@wedamija
Copy link
Copy Markdown
Member

@wedamija wedamija commented Apr 11, 2026

As far as I can tell, organizations:performance-use-metrics is totally unused. I checked the options in all STs and it was enabled for org 1 in only one of them, and completely disabled elsewhere. Just removing this code, but would appreciate if folks involved could confirm that it's really not used.

Getsentry pr: https://github.com/getsentry/getsentry/pull/19865

@wedamija wedamija requested review from a team as code owners April 11, 2026 00:18
@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Apr 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

{},
{
features: ['performance-use-metrics'],
features: ['dynamic-sampling'],
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just another flag that allows canUseMetricsData to return true

@wedamija wedamija requested a review from k-fish April 11, 2026 00:29
@wedamija wedamija force-pushed the danf/remove-performance-use-metrics branch from 3584163 to 9d849f9 Compare April 11, 2026 00:29
@wedamija
Copy link
Copy Markdown
Member Author

@k-fish I think you have the most context here, is this safe to remove?

@github-actions

This comment was marked as outdated.

@armenzg armenzg removed the request for review from a team April 13, 2026 12:40
@wedamija wedamija requested review from a team as code owners April 13, 2026 19:36
@wedamija wedamija removed request for a team April 13, 2026 19:39
Copy link
Copy Markdown
Member

@k-fish k-fish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be good to remove

…ture flag

As far as I can tell, `organizations:performance-use-metrics` is totally unused. I checked the options in all STs and it was enabled for org 1 in only one of them, and completely disabled elsewhere. Just removing this code, but would appreciate if folks involved could confirm that it's really not used.
@sentry
Copy link
Copy Markdown
Contributor

sentry bot commented Apr 14, 2026

Sentry Snapshot Testing

Name Added Removed Modified Renamed Unchanged Status
sentry-frontend
sentry-frontend
0 0 0 0 204 ✅ Unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants