SpanOptions
Defined in: src/tracing/Tracer.ts:41
Properties
Section titled “Properties”attributes?
Section titled “attributes?”
readonlyoptionalattributes?:Readonly<Record<string,AttributeValue>>
Defined in: src/tracing/Tracer.ts:47
readonlyoptionalkind?:SpanKind
Defined in: src/tracing/Tracer.ts:48
parent?
Section titled “parent?”
readonlyoptionalparent?:SpanContext|null
Defined in: src/tracing/Tracer.ts:46
Parent span context. undefined means “use the active span”.
null explicitly creates a root span.
startTimeMs?
Section titled “startTimeMs?”
readonlyoptionalstartTimeMs?:number
Defined in: src/tracing/Tracer.ts:50
Override the span start time — defaults to Date.now().