trace.start_span
Start an operation associated with a name or an existing function value. Creating it does not invoke the function or change the caller's active span.
Reference version
Signature
function trace.start_span(
target: string | reflect.AnyFunction<Returns = unknown, Throws = unknown>,
inputs: map<string, unknown> | null = …,
parent: trace.Span | null = …,
metadata: map<string, string | int | float | bool | null> = …,
distinct_id: string | null = …
Start an operation associated with a name or an existing function value. Creating it does not invoke the function or change the caller's active span.
Source:<builtin>/trace/trace.bamlbytes 7789–8070