Closed
Description
Problem Statement
Add a new decorator, SentryIsolationScope
, to create and apply an isolation scope to the relevant method.
Similar to the SentryCron
or SentryTrace
decorators, this would be useful in situations where we don't have HTTP requests but still need an isolation scope.
For instance, in our case, some MQ event consumers subscribe to a message broker like RabbitMQ. In such cases, there are no HTTP requests, so every Sentry.getIsolationScope call targets the global scope.
Having a decorator to create and assign an isolation scope to these functions would be a great feature for such use cases.
Solution Brainstorm
I've looked for a similar feature but unfortunately couldn't find any, so I've created this issue
Metadata
Metadata
Assignees
Type
Projects
Status
No status