import { getTraceData } from "https://deno.land/x/sentry@8.37.1/index.mjs";
Extracts trace propagation data from the current span or from the client's scope (via transaction or propagation
context) and serializes it to sentry-trace
and baggage
values to strings. These values can be used to propagate
a trace via our tracing Http headers or Html <meta>
tags.
This function also applies some validation to the generated sentry-trace and baggage values to ensure that only valid strings are returned.