TracingSpanOptions interface

Options used to configure the newly created span.

Properties

spanAttributes

Initial set of attributes to set on a span.

spanKind

The kind of span. Implementations should default this to "client".

spanLinks

A collection of TracingSpanLink to link to this span.

Property Details

spanAttributes

Initial set of attributes to set on a span.

spanAttributes?: {[key: string]: unknown}

Property Value

{[key: string]: unknown}

spanKind

The kind of span. Implementations should default this to "client".

spanKind?: TracingSpanKind

Property Value

A collection of TracingSpanLink to link to this span.

spanLinks?: TracingSpanLink[]

Property Value