Skip to main content
Module

x/sentry/index.d.ts>continueTrace

The Official Sentry Deno SDK
Go to Latest
variable continueTrace
import { continueTrace } from "https://deno.land/x/sentry@8.0.0-beta.4/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