Skip to main content
Module

x/sentry/index.d.ts>startInactiveSpan

The Official Sentry Deno SDK
Go to Latest
function startInactiveSpan
import { startInactiveSpan } from "https://deno.land/x/sentry@8.0.0-beta.4/index.d.ts";

Creates a span. This span is not set as active, so will not get automatic instrumentation spans as children or be able to be accessed via Sentry.getActiveSpan().

If you want to create a span that is set as active, use startSpan.

This function will always return a span, it may just be a non-recording span if the span is not sampled or if tracing is disabled.

Parameters

context: StartSpanOptions