Start Span • Rust AI Agent SDK
start_span: Start a new span.
start_span
Method
</div>
This is a method of the TraceContext class in the trace module.
Start a new span.
Signature
def start_span(&mut self, name: impl Into<String>, kind: SpanKind) -> StringParameters
ParamField
impl Into<String>No description available.
ParamField
SpanKindNo description available.
Returns
ResponseField
StringThe result of the operation.