RequestTracer
Interface: RequestTracer
Defined in: packages/core/src/services/requesttracer.ts:39
Wraps the processing of a request, e.g. in a tracing span
Methods
trace()
trace<
T>(request,fn):Promise<T>
Defined in: packages/core/src/services/requesttracer.ts:46
Run fn within the trace of the request
Type Parameters
T
T
Parameters
request
the request description
fn
(handle) => Promise<T>
the processing to trace
Returns
Promise<T>
the result of fn