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

x/blocks/observability/otel/samplers/urlBased.ts>URLBasedSampler

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

Constructors

new
URLBasedSampler(options?: SamplingOptions)

Properties

protected
compiledOptions: CompiledURLBasedSampling[]

Methods

shouldSample(context: Context): SamplingResult
toString(): string