createFunctionSpan
이 콘텐츠는 아직 번역되지 않았습니다.
function createFunctionSpan(options, parent?): Span<FunctionSpanData>;Create a new function span. The span will not be started automatically, you should either
use withFunctionSpan() or call span.start() and span.end() manually.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
Optional span creation options, including span data and identifiers. |
|
|
The parent span or trace. If not provided, the current trace/span will be used automatically. |
Returns
Section titled “Returns”Span<FunctionSpanData>
The newly created function span.