@grand-board/otel-cloudflare - v6.11.0
    Preparing search index...

    Interface ExportableSpan

    Span data needed for OTLP export

    interface ExportableSpan {
        attributes: Attributes;
        endTime?: number;
        events: { attributes?: Attributes; name: string; timestamp: number }[];
        kind: SpanKind;
        links: Link[];
        name: string;
        parentSpanId?: string;
        startTime: number;
        status: { code: number; message?: string };
        spanContext(): { spanId: string; traceId: string };
    }
    Index

    Properties

    attributes: Attributes
    endTime?: number
    events: { attributes?: Attributes; name: string; timestamp: number }[]
    kind: SpanKind
    links: Link[]
    name: string
    parentSpanId?: string
    startTime: number
    status: { code: number; message?: string }

    Methods

    • Returns { spanId: string; traceId: string }