Delegates to the current global TracingProvider.

Note that this function adds a layer of indirection so that the decoration happens when the method is executed. This is necessary so that the current TracingProvider is used.

fn Function to decorate.
**trace_kwargs Tracing options. Supported options differ by tracing provider.

Decorated instance of fn.