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