Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChildSpanData

Represents a real child span, which corresponds to an outgoing RPC.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ChildSpanData(trace: Trace, spanName: string, parentSpanId: string, skipFrames: number): ChildSpanData

Properties

span

span: TraceSpan

trace

trace: Trace

The object holding the spans comprising this trace.

type

type: CHILD = SpanType.CHILD

Methods

addLabel

  • addLabel(key: string, value: any): void

endSpan

  • endSpan(timestamp?: Date): void

getTraceContext

  • getTraceContext(): string

Generated using TypeDoc