trace
Traces a function f, using a span called spanName, which is automatically finished when the function completes execution.
If a span is already active, the new span is made a child of the existing one. If you want to manipulate the Span (e.g. to attach baggage), use traceWithSpan instead.
If you want a new independent span, use traceWithNewRootSpan.