Skip to content

AxSpanOptions

Interface: AxSpanOptions

Properties

attributes?

optional attributes: AxSpanAttributes

Optional attributes that can be attached to the AxSpan.

Optional

Defined in

src/ax/trace/index.ts:163


kind?

optional kind: AxSpanKind

The kind of span, defaults to AxSpanKind.INTERNAL if not specified.

Optional

Defined in

src/ax/trace/index.ts:169


optional links: AxSpanLink[]

AxSpanLinks that associate this new AxSpan with other AxSpans.

Optional

Defined in

src/ax/trace/index.ts:175


root?

optional root: boolean

Indicates whether the span should be a root span, ignoring any parent span from the context.

Optional

Defined in

src/ax/trace/index.ts:181


startTime?

optional startTime: AxSpanTimeInput

A manually specified start time for the span, if required.

Optional

Defined in

src/ax/trace/index.ts:187