add_event: Add an event.
This is a method of the Span class in the trace module.
def add_event(&mut self, event: SpanEvent) -> ()