Skip to content

chore(perf-issues): Add a flag and check it to allow customer to disable detectors #91734

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conversation

leeandher
Copy link
Member

This will be overridden by detector work later on, but expose it now so customers can understand how it might work (and disable any detectors without support tickets)

@leeandher leeandher requested a review from a team as a code owner May 15, 2025 15:53
@leeandher leeandher requested a review from a team May 15, 2025 15:53
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 15, 2025
Copy link
Member

@mrduncan mrduncan left a comment

Choose a reason for hiding this comment

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

lgtm - internal_only_settings looks scary but is only controlling the enabled state for these detectors, once we roll this out fully I think we can clean that up

@leeandher
Copy link
Member Author

internal_only_settings

I agree about the clean up, there are a lot of magic strings around here and places you have to update when extending a detector and it's pretty easy to get wrong.

Copy link

codecov bot commented May 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #91734      +/-   ##
==========================================
- Coverage   87.61%   87.61%   -0.01%     
==========================================
  Files       10335    10335              
  Lines      586491   586479      -12     
  Branches    22550    22548       -2     
==========================================
- Hits       513846   513829      -17     
- Misses      72199    72204       +5     
  Partials      446      446              

@leeandher leeandher merged commit 8d4f71c into master May 15, 2025
60 checks passed
@leeandher leeandher deleted the leander/id-621-expose-disableenable-detector-per-project-to-be-user-facing branch May 15, 2025 16:59
leeandher added a commit that referenced this pull request May 16, 2025
Add tests for feature flag check implemented in
#91734, forgot them there
andrewshie-sentry pushed a commit that referenced this pull request May 20, 2025
Add tests for feature flag check implemented in
#91734, forgot them there
@github-actions github-actions bot locked and limited conversation to collaborators May 31, 2025
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants