function to be called
tracer to be used
name of the span to be created
Optional
spanOptions: SpanOptionsOptions object needed for span creation with optional attributes: kind, attributes, links, startTime, root
the result of the original function
Calls the given asynchronous function with oTel tracing span instrumentation