Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sentry/index.mjs>Scope#setSpan

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.setSpan
Deprecated
Deprecated

Instead of setting a span on a scope, use startSpan()/startSpanManual() instead.

import { Scope } from "https://deno.land/x/sentry@7.120.0/index.mjs";

Sets the Span on the scope.

Parameters

optional
span: Span

Span