SpanOptions
@forge/monorepo / backend/src / SpanOptions
Type Alias: SpanOptions
SpanOptions =
object
Defined in: backend/src/telemetry/index.ts:87
Properties
attributes?
readonlyoptionalattributes?:Attributes
Defined in: backend/src/telemetry/index.ts:89
kind?
readonlyoptionalkind?:SpanKind
Defined in: backend/src/telemetry/index.ts:88
parent?
readonlyoptionalparent?:string
Defined in: backend/src/telemetry/index.ts:97
The parent, as a traceparent string.
A string rather than a span object, because the parent usually arrives serialized — out of a job payload or an HTTP header — and a port that took a live span would force every producer to keep one alive across a process boundary, which is the one thing it cannot do.