Emits a distributed trace span to the configured telemetry sink
(e.g., OpenTelemetry). The span is linked to the workflow's trace
context (traceId, spanId) for end-to-end observability across
workflow executions, activities, and child workflows.
By default (config.once = true), the trace is emitted exactly once
per workflow execution — it will not re-fire on replay.
Emits a distributed trace span to the configured telemetry sink (e.g., OpenTelemetry). The span is linked to the workflow's trace context (
traceId,spanId) for end-to-end observability across workflow executions, activities, and child workflows.By default (
config.once = true), the trace is emitted exactly once per workflow execution — it will not re-fire on replay.Examples