Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/live/observability/otel/samplers/debug.ts>DebugSampler#shouldSample

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
method DebugSampler.prototype.shouldSample
import { DebugSampler } from "https://deno.land/x/live@1.74.1/observability/otel/samplers/debug.ts";

Parameters

context: Context
traceId: string
spanName: string
spanKind: SpanKind
attributes: Attributes

Returns

SamplingResult