Execute a synchronous function within a new span.
Name of the span
Function to execute within the span
Span options
The result of the function
Execute a synchronous function within a new span.