TryAddOptions interface

The set of options to manually propagate Span context for distributed tracing.

Properties

parentSpan
tracingOptions

The options to use when creating Spans for tracing.

Property Details

parentSpan

Warning

This API is now deprecated.

Tracing options have been moved to the tracingOptions property.

parentSpan?: Span | SpanContext | null

Property Value

Span | SpanContext | null

tracingOptions

The options to use when creating Spans for tracing.

tracingOptions?: OperationTracingOptions

Property Value

OperationTracingOptions