Span interface
addEvent adds an event to the span.
Optional
end ends the span.
Note: spans must be ended so that they can be exported.
recordException records an exception on the span.
setAttribute sets an attribute on the span.
setAttributes sets multiple attributes on the span.
setSpanOnContext sets the span on the context. This is useful when you want to propagate the span across the application.
Generated using TypeDoc
Span interface