Optional attributesOptional contextOptional parent context to use for this span
Optional endWhether to end the span when the function exits (default: true)
Optional kindThe span's kind (client, server, ...); defaults to INTERNAL
Name of the span
Optional startOptional start time for the span in milliseconds (Date.now() format)
Attributes to set on the span when it starts