The current IOTelApi instance that is being used.
OptionalattributesOptionalisOptionalonWhen the span ends this callback will be called to process the specified Span and end it
The span to end
OptionalonWhen an exception is recorded via the span's recordException API this callback will be called to process the exception. Unlike the OpenTelemetry spec this callback also provides the span instance to allow implementations to associate the exception with the span as needed. It is also called immediately when recordException is called rather than waiting until the span ends.
The span associated with the exception
The exception to process
Optionaltime: OTelTimeInputThe time the exception occurred
OptionalparentOptionalstartIdentifies the user provided start time of the span
The context to use for creating a Span