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