ITelemetryService.withSpan<T>(): Promise<T>
Creates a span, runs the callback, and ends the span.
The span is guaranteed to be ended exactly once, even if the callback
throws. The callback receives an ISpan that it can attach
attributes to.
optional
options: SpanOptions
Optional span options (kind, attributes, parentSpan)
Promise<T>
The value returned by fn