Interface ExportedSpan

Exported span data for serialization.

interface ExportedSpan {
    traceId: string;
    spanId: string;
    parentSpanId?: string;
    name: string;
    kind: SpanKind;
    startTime: number;
    endTime?: number;
    status: SpanStatus;
    statusMessage?: string;
    attributes: SpanAttributes;
    events: SpanEvent[];
    links: SpanLink[];
}

Properties

traceId: string
spanId: string
parentSpanId?: string
name: string
kind: SpanKind
startTime: number
endTime?: number
status: SpanStatus
statusMessage?: string
attributes: SpanAttributes
events: SpanEvent[]
links: SpanLink[]