Skip to content

SimpleSpanRecord

SimpleSpanRecord = Omit<NormalizedSpan, "attributes" | "error" | "events"> & object

Lightweight span record accepted by createHarness(...) results.

optional attributes?: Record<string, unknown>

Raw span attributes accepted by createHarness(...) before normalization.

optional error?: unknown

Raw span error accepted by createHarness(...) before normalization.

optional events?: SimpleSpanEvent[]

Raw span events accepted by createHarness(...) before normalization.