Skip to main content
Module

x/tracecontext/traceparent.ts>sample

Blazing fast w3c Trace Contexts for any JS runtime
Latest
function sample
import { sample } from "https://deno.land/x/tracecontext@v0.2.0/traceparent.ts";

Modifies the flags of a Traceparent to sample the traceparent flag bit.

[!NOTE] You may wish to .child() before you sample, as is required by the spec