spotlight icon indicating copy to clipboard operation
spotlight copied to clipboard

Enable all features in the SDKs when spotlight:true

Open HazAT opened this issue 2 years ago • 2 comments

When someone sets spotlight:true in a Sentry SDK - we should up all sample rates.

### Tasks
- [ ] Node
- [ ] Python
- [ ] PHP
- [ ] Ruby

HazAT avatar Dec 07 '23 09:12 HazAT

IMO the better approach here would be to move this logic (and define the spec around it) until the envelope crafting bits. This is still not ideal all the time because you're wasting CPU in prod when something might not sample/etc. I dont think we should compromise there, but it also smells funny to magically change the config.

It could just be something like if spotlight or should_sample: do the thing() and put those checks everywhere.

dcramer avatar Dec 07 '23 18:12 dcramer

Related #543

BYK avatar Nov 04 '24 16:11 BYK