Skip to main content
Defined in: testing/recordingTracer.ts:52 Options of createRecordingTracer.

Properties

sampled?

Defined in: testing/recordingTracer.ts:54 false makes every span non-recording (isRecording() === false), like a sampler dropping it. Default true.

withSpan?

Defined in: testing/recordingTracer.ts:56 Implement withSpan (the backend-context bridge). Default true.

w3c?

Defined in: testing/recordingTracer.ts:61 W3C-shaped ids (32/16 lowercase hex, deterministic) instead of the short t…/s… ones, so span contexts can be carried as a traceparent (checkpoints). Default false.

traceState?

Defined in: testing/recordingTracer.ts:63 A W3C tracestate every span context reports (e.g. to test that it is carried).