콘텐츠로 이동

createGuardrailSpan

이 콘텐츠는 아직 번역되지 않았습니다.

function createGuardrailSpan(options, parent?): Span<GuardrailSpanData>;

Create a new guardrail span. The span will not be started automatically, you should either use withGuardrailSpan() or call span.start() and span.end() manually.

Parameter Type

options

DeepPartial<CreateSpanOptions<GuardrailSpanData>> & object

parent?

| Span<any> | Trace

Span<GuardrailSpanData>