RecordingTracerOptions
Defined in: src/tracing/RecordingTracer.ts:49
Properties
Section titled “Properties”onSpanEnd?
Section titled “onSpanEnd?”
readonlyoptionalonSpanEnd?: (span) =>void
Defined in: src/tracing/RecordingTracer.ts:51
Hook invoked when a span ends — wire to your exporter here.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
sampler?
Section titled “sampler?”
readonlyoptionalsampler?: (name,opts) =>boolean
Defined in: src/tracing/RecordingTracer.ts:53
Sampling decision per span. Default () => true (sample all).
Parameters
Section titled “Parameters”string
SpanOptions | undefined
Returns
Section titled “Returns”boolean