Interface: EndSpanOptions

Defined in: tracing/types.ts:193

Options for ending a span

Properties

attributes?

optional attributes?: SpanAttributes;

Defined in: tracing/types.ts:201

Additional attributes to add

endTime?

optional endTime?: number;

Defined in: tracing/types.ts:195

End time override (default: now)

status?

optional status?: SpanStatus;

Defined in: tracing/types.ts:197

Final status

statusMessage?

optional statusMessage?: string;

Defined in: tracing/types.ts:199

Status message