Skip to content

CommandSpan

Defined in: observability/src/core/sinks.ts:11

A running command span — undefined when the error sink is off.

end(): void

Defined in: observability/src/core/sinks.ts:15

Ends the span and records its duration.

void


setStatus(ok): void

Defined in: observability/src/core/sinks.ts:13

Marks the span as succeeded (true) or failed (false).

boolean

void