An agent trace is usually written as a sequence of events because append-only data is simple to produce:

span_started

span_ended

span_started

span_ended