Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RootSpanData

Represents a real root span, which corresponds to an incoming request.

Hierarchy

Implements

Index

Constructors

constructor

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

Properties

span

span: TraceSpan

trace

trace: Trace

The object holding the spans comprising this trace.

type

type: ROOT = SpanType.ROOT

Methods

addLabel

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

createChildSpan

endSpan

  • endSpan(timestamp?: Date): void

getTraceContext

  • getTraceContext(): string

Generated using TypeDoc