log2trace-ui - v1.0.0-RC1
    Preparing search index...

    A Span represents a single operation performed by a single component of the system.

    interface Span {
        attributes: KeyValue[];
        droppedAttributesCount?: number;
        droppedEventsCount?: number;
        droppedLinksCount?: number;
        endTimeUnixNano: string;
        events?: Event[];
        kind: SpanKind;
        links?: Link[];
        name: string;
        parentSpanId?: string;
        spanId: string;
        startTimeUnixNano: string;
        status?: Status;
        traceId: string;
    }
    Index

    Properties

    attributes: KeyValue[]

    A collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Attribute keys MUST be unique.

    droppedAttributesCount?: number

    The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.

    droppedEventsCount?: number

    The number of dropped events. If the value is 0, then no events were dropped.

    droppedLinksCount?: number

    The number of dropped links. If the value is 0, then no links were dropped.

    endTimeUnixNano: string

    The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.

    events?: Event[]

    A collection of Event items.

    kind: SpanKind

    Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using CLIENT (caller) and SERVER (callee) to identify queueing latency associated with the span.

    links?: Link[]

    A collection of Links, which are references from this span to a span in the same or different trace.

    name: string

    A description of the span's operation. For example, the name can be a qualified method name or a file name and a line number where the operation is called. This field is semantically required to be set to non-empty string.

    parentSpanId?: string

    The span_id of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.

    spanId: string

    A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. This field is required.

    startTimeUnixNano: string

    The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.

    status?: Status

    An optional final status for this span. When Status isn't set, it means span's status code is unset.

    traceId: string

    A unique identifier for a trace. All spans from the same trace share the same trace_id. The ID is a 16-byte array. This field is required.