Interface: ManualSpanOptions
Prefactor TypeScript SDK / @prefactor/core / ManualSpanOptions
Interface: ManualSpanOptions
Section titled “Interface: ManualSpanOptions”Defined in: packages/core/src/client.ts:13
Options for creating a manual span around custom code.
Properties
Section titled “Properties”name:
string
Defined in: packages/core/src/client.ts:15
Human-readable span name.
spanType
Section titled “spanType”spanType:
string
Defined in: packages/core/src/client.ts:17
Provider-specific span type identifier.
inputs
Section titled “inputs”inputs:
Record<string,unknown>
Defined in: packages/core/src/client.ts:19
Captured input payload for the span.
metadata?
Section titled “metadata?”
optionalmetadata:Record<string,unknown>
Defined in: packages/core/src/client.ts:21
Optional metadata associated with the span.