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

x/sentry/index.d.ts>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.117.0/index.d.ts";

Sets the Span on the scope.

Parameters

optional
span: Span

Span