Use the CallStack to generate position information in conformance with the Otel spec.
We need to freeze the call stack around inSpan,
so that the location information of the calling function context is used. This also applies to the inSpan functions in Trace.Monad.
Use the CallStack to generate position information in conformance with the Otel spec.
We need to freeze the call stack around
inSpan
, so that the location information of the calling function context is used. This also applies to theinSpan
functions inTrace.Monad
.