Optional
attributesA span's attributes
Optional
kindThe SpanKind of a span
Optional
linksLinks span to other spans
Optional
onfunction to overwrite default exception behavior to record the exception. No exceptions should be thrown in the function.
Optional
rootThe new span should be a root span. (Ignore parent from context).
Optional
startA manually specified start time for the created Span
object.
Options needed for span creation