On Span End • AI Agent SDK
on_span_end: Called when a span ends.
on_span_end
Method
</div>
This is a method of the ObservabilityAdapter class in the obs module.
Called when a span ends.
Signature
def on_span_end(span_id: str, status: str, attributes: Optional[Dict[str, Any]]) -> NoneParameters
ParamField
strNo description available.
ParamField
strNo description available.
ParamField
OptionalNo description available.
Source
View on GitHubpraisonaiagents/obs/__init__.py at line 90