Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SpanOptions

Package version

Defines the span options Options needed for span creation

Hierarchy

  • SpanOptions

Index

Properties

Optional attributes

attributes: Attributes

A spans attributes

Optional childOf

childOf: Span

The new span's parent

Optional isRecordingEvents

isRecordingEvents: undefined | false | true

Indicates that events are being recorded for a span

Optional kind

kind: SpanKind

Span kind The SpanKind of a span

name

name: string

Span name

Optional parent

parent: Span | SpanContext

A parent SpanContext (or Span, for convenience) that the newly-started span will be the child of.

Optional startTime

startTime: undefined | number

A manually specified start time for the created Span object.

Generated using TypeDoc