log2trace-ui - v1.0.0-rc.9
    Preparing search index...

    Interface IndexedSpan

    A span with pre-computed derived values for fast access.

    Wraps the original OTel Span and adds millisecond timestamps, duration, and denormalized service name — values that would otherwise be recomputed on every render/filter pass.

    interface IndexedSpan {
        durationMs: number;
        endMs: number;
        idx: number;
        parentId: string | undefined;
        serviceName: string;
        span: Span;
        spanId: string;
        startMs: number;
    }
    Index

    Properties

    durationMs: number

    Duration in milliseconds (endMs - startMs).

    endMs: number

    End time in whole milliseconds since Unix epoch (sub-millisecond part dropped).

    idx: number

    Row of this span in SpanIndex.table and SpanIndex.ordered.

    parentId: string | undefined

    Shortcut: span.parentSpanId (undefined for roots).

    serviceName: string

    Service name from the owning ResourceSpans resource attributes.

    span: Span

    The original OTel span (unchanged).

    spanId: string

    Shortcut: span.spanId

    startMs: number

    Start time in whole milliseconds since Unix epoch (sub-millisecond part dropped).