You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In environments where we cannot make use of OTel httpInstrumentation, e.g. when just importing the Sentry server config at
22
-
// the top level instead of `--import` or dynamic import like on Vercel, we still need to ensure requests are properly isolated
20
+
// In environments where we cannot make use of OTel httpInstrumentation, we still need to ensure requests are properly isolated (e.g. when just importing the Sentry server config at the top level instead of `--import`).
21
+
// If OTel httpInstrumentation works, requests will be already isolated by the SentryHttpInstrumentation.
22
+
// We can identify this by comparing the current isolation scope to the default one. The requests are properly isolated if
23
+
// the current isolation scope is different from the default one. If that is not the case, we fork the isolation scope here.
0 commit comments