Function
start_span
Synopsis
start_span(string, string ...): object
- Area
Runtime\PS\Span\start_spanareas
Description
start_span opens a telemetry span named $name, of kind $kind when given, and returns it; the script closes it with $span->end(). Without a trace in the context, the returned span's methods do nothing.
Usage
$value = start_span($arguments);
$fn = start_span(...);