Attributes for the span.
Data for the span.
OptionaldescriptionDescription of the Span.
OptionalendTimestamp in seconds (epoch time) indicating when the span ended.
OptionalexclusiveExclusive time in milliseconds.
The instrumenter that created this span.
OptionalmeasurementsMeasurements of the Span.
Human-readable identifier for the span. Identical to span.description.
OptionalopOperation of the Span.
OptionaloriginThe origin of the span, giving context about what created the span.
OptionalparentParent Span ID
OptionalsampledWas this span chosen to be sent as part of the sample?
The ID of the span.
Timestamp in seconds (epoch time) indicating when the span started.
OptionalstatusCompletion status of the Span.
See: {@sentry/tracing SpanStatus} for possible values
Tags for the span.
The ID of the trace.
OptionaltransactionThe transaction containing this span
End the current span.
OptionalendTimestamp: SpanTimeInputIf this is span is actually recording data. This will return false if tracing is disabled, this span was not sampled or if the span is already finished.
Set a single attribute on the span.
Set it to undefined to remove the attribute.
Set multiple attributes on the span.
Any attribute set to undefined will be removed.
Sets the status attribute on the current span See: {@sentry/tracing SpanStatus} for possible values
http code used to set the status
Get context data for this span. This includes the spanId & the traceId.
Creates a new Span while setting the current Span.id as parentSpanId.
Also the sampled decision will be inherited.
OptionalspanContext: Pick<Update the name of the span.
Span holding trace_id, span_id