Spans overview in AgentOps v0.4
v1Spans replace Events in AgentOps v0.4 for tracking operations hierarchically. A span represents a unit of work or operation in your agent workflow. Spans are created using decorators (@session, @agent, @operation, @workflow) and automatically nest to form a hierarchical trace of execution. They capture inputs, outputs, exceptions, and common attributes like span_id and trace_id for visualization.