Aller au contenu
Français

RecordingTracerOptions

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/tracing/RecordingTracer.ts:49

readonly optional onSpanEnd?: (span) => void

Defined in: src/tracing/RecordingTracer.ts:51

Hook invoked when a span ends — wire to your exporter here.

RecordedSpan

void


readonly optional sampler?: (name, opts) => boolean

Defined in: src/tracing/RecordingTracer.ts:53

Sampling decision per span. Default () => true (sample all).

string

SpanOptions | undefined

boolean