UNPKG

@vtex/diagnostics-nodejs

Version:

Diagnostics library for Node.js applications

8 lines 461 B
import { Context, Attributes, SpanKind, Link } from '@opentelemetry/api'; import { Sampler, SamplingResult } from '@opentelemetry/sdk-trace-base'; export declare class DebugSampler implements Sampler { shouldSample(context: Context, traceId: string, spanName: string, spanKind: SpanKind, attributes: Attributes, links: Link[]): SamplingResult; toString(): string; } export declare function newDebugSampler(): Sampler; //# sourceMappingURL=debug.d.ts.map