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
* Logs a warning once if `beforeSendSpan` is used to drop spans.
290
+
*
291
+
* todo(v9): Remove this once we've stopped dropping spans via `beforeSendSpan`.
292
+
*/
293
+
exportfunctionshowSpanDropWarning(): void{
294
+
if(!hasShownSpanDropWarning){
295
+
consoleSandbox(()=>{
296
+
// eslint-disable-next-line no-console
297
+
console.warn(
298
+
'[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.',
0 commit comments