createCustomSpan
function createCustomSpan(options, parent?): Span<CustomSpanData>;
Create a new custom span. The span will not be started automatically, you should either use
withCustomSpan()
or call span.start()
and span.end()
manually.
Parameters
Section titled βParametersβParameter | Type |
---|---|
|
|
|
Returns
Section titled βReturnsβSpan
<CustomSpanData
>