A node in the pruned trace tree.

Hierarchy

  • SummarizedSpan

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
children: SummarizedSpan[]

The child spans of this node in the pruned tree.

durationSeconds: number

The duration of the span, in seconds.

endTime: Date

The end time of the span, in RFC3339 format.

Error flag for a span. 1 when the span is in error, 0 otherwise.

hiddenChildSpansCount: number

The number of child spans that were pruned from this node when summarizing the trace.

meta: {
    [key: string]: string;
}

String-valued tags attached to the span.

Type declaration

  • [key: string]: string
metrics: {
    [key: string]: number;
}

Numeric metrics attached to the span.

Type declaration

  • [key: string]: number
name: string

The operation name of the span.

parentId: number

The ID of the parent span, or 0 when the span is the trace root.

resource: string

The resource that the span describes.

service: string

The name of the service that emitted the span.

spanId: number

The span ID, as an unsigned 64-bit integer.

spanKind: string

The OpenTelemetry span kind, for example INTERNAL, SERVER, CLIENT, PRODUCER, or CONSUMER.

startTime: Date

The start time of the span, in RFC3339 format.

Generated using TypeDoc