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

x/sentry/index.d.ts>continueTrace

The Official Sentry Deno SDK
Latest
variable continueTrace
import { continueTrace } from "https://deno.land/x/sentry@8.37.1/index.d.ts";

Continue a trace from sentry-trace and baggage values. These values can be obtained from incoming request headers, or in the browser from <meta name="sentry-trace"> and <meta name="baggage"> HTML tags.

Spans started with startSpan, startSpanManual and startInactiveSpan, within the callback will automatically be attached to the incoming trace.

type

<V>(unnamed 0: { sentryTrace: Parameters<propagationContextFromHeaders>[0]; baggage: Parameters<propagationContextFromHeaders>[1]; }, callback: () => V) => V