End Span • Rust AI Agent SDK

end_span: End a span in a trace.

end_span

Method

</div>

This is a method of the Tracer class in the trace module.

End a span in a trace.

Signature

python
def end_span(&self, trace_id: &str, span_id: &str) -> ()

Parameters

ParamField &str

No description available.

ParamField &str

No description available.

Returns

ResponseField ()

The result of the operation.