(scope = getCurrentScope())
| 293 | |
| 294 | /** Check if tracing is suppressed. */ |
| 295 | export function isTracingSuppressed(scope = getCurrentScope()): boolean { |
| 296 | const acs = getAcs(); |
| 297 | |
| 298 | if (acs.isTracingSuppressed) { |
| 299 | return acs.isTracingSuppressed(scope); |
| 300 | } |
| 301 | |
| 302 | return scope.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY] === true; |
| 303 | } |
| 304 | |
| 305 | /** |
| 306 | * Starts a new trace for the duration of the provided callback. Spans started within the |
no test coverage detected