-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed as not planned
Labels
Description
SDK
PHP SDK
Description
https://docs.sentry.io/platforms/php/guides/laravel/#local-development-and-testing
Mentions negative effect of Sentry SDK on performance. I believe it may be a bit misleading
- This may lead customers to generalize that to Sentry overall, however this is something specific to only PHP platform that doesn't allow sending events in the background. Overhead on all other platforms is negligible as background threads (or equivalent) are used.
- AFAIK even for PHP (in production environment) it can be effectively mitigated by running a local relay in the same datacenter that reduces latency. We only mention that in the deep fine print of [Performance Monitoring] Performance Overhead and only in the context of AWS Lambda (I believe it should apply universally). So customer may conclude overhead locally => overhead in production and not be aware of mitigation. And this Laravel passage in question doesn't link to that doc.
Context: this section seems to be picked up a lot by RAG as it matches certain use cases well and other platforms don't have an equivalent doc. It's on RAG that it wasn't able to tell it's SDK-specific, but maybe we can meet it halfway? π
Suggested Solution
add something along the lines of "because PHP unlike other platforms doesn't have background threads"? (@cleptric correct me if this is wrong please)
Metadata
Metadata
Assignees
Labels
Projects
Status
No status