OptionalattributesA span's attributes
OptionalkindThe SpanKind of a span
OptionallinksLinks span to other spans
Optionalonfunction to overwrite default exception behavior to record the exception. No exceptions should be thrown in the function.
OptionalrootThe new span should be a root span. (Ignore parent from context).
OptionalstartA manually specified start time for the created Span object.
Options needed for span creation