Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.117.0/index.mjs";

Sets the Span on the scope.

Parameters

optional
span: Span

Span