Interface SpanOptions

Options needed for span creation

Hierarchy

  • SpanOptions

Properties

attributes?: Attributes

A span's attributes

kind?: SpanKind

The SpanKind of a span

Default

{@link SpanKind.INTERNAL}
links?: Link[]

Links span to other spans

root?: boolean

The new span should be a root span. (Ignore parent from context).

startTime?: TimeInput

A manually specified start time for the created Span object.

Generated using TypeDoc