addEvent

Adds an event to the span.

Parameters

name

the name of the event.