콘텐츠로 이동

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>