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

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

Constructors

new
DebugSampler(inner?: Sampler)

Methods

shouldSample(
context: Context,
traceId: string,
spanName: string,
spanKind: SpanKind,
attributes: Attributes,
links: Link[],
): SamplingResult
toString(): string