MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / suppressTracing

Function suppressTracing

packages/deno/src/async.ts:81–86  ·  view source on GitHub ↗
(callback: () => T)

Source from the content-addressed store, hash-verified

79
80 // In contrast to the browser, we can rely on async context isolation here
81 function suppressTracing<T>(callback: () => T): T {
82 return withScope(scope => {
83 scope.setSDKProcessingMetadata({ __SENTRY_SUPPRESS_TRACING__: true });
84 return callback();
85 });
86 }
87
88 setAsyncContextStrategy({
89 suppressTracing,

Callers 1

diagnoseSdkConnectivityFunction · 0.50

Calls 3

withScopeFunction · 0.70
callbackFunction · 0.50

Tested by

no test coverage detected