Starts a new Span.
The tracer that created this Span
The name of the span.
The SpanContext this span belongs to
The SpanKind of this Span
The identifier of the parent Span
The startTime of the event (defaults to now)
True if end() has been called on the Span
The Span's kind
The Span's current name
The id of the parent Span, if any.
The start time of the Span
The Span's current status
Adds an event to the Span
The name of the event
The associated attributes to add for this event
Adds a link to the Span.
the context of the linked span
attributes to be added that are associated with the link
Returns the SpanContext associated with this Span.
Marks the end of Span execution.
The time to use as the Span's end time. Defaults to the current time.
Returns whether this span will be recorded
Sets an attribute on the Span
the attribute key
the attribute value
Sets attributes on the Span
the attributes to add
Sets a status on the span. Overrides the default of CanonicalCode.OK.
The status to set.
Returns the Tracer that created this Span
Updates the name of the Span
the new Span name
Generated using TypeDoc
A mock span useful for testing.