ใ‚ณใƒณใƒ†ใƒณใƒ„ใซใ‚นใ‚ญใƒƒใƒ—

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.

Parameter Type

options

DeepPartial<CreateSpanOptions<CustomSpanData>> & object

parent?

| Trace | Span<any>

Span<CustomSpanData>