Attributes for the transaction.
Data for the transaction.
OptionaldescriptionDescription of the Span.
OptionalendTimestamp in seconds (epoch time) indicating when the span ended.
OptionalexclusiveExclusive time in milliseconds.
The instrumenter that created this transaction.
OptionalmeasurementsMeasurements of the Span.
Metadata about the transaction.
Human-readable identifier for the transaction.
OptionalopOperation of the Span.
OptionaloriginThe origin of the span, giving context about what created the span.
OptionalparentIf this transaction has a parent, the parent's sampling decision
OptionalparentParent Span ID
OptionalsampledWas this transaction chosen to be sent as part of the sample?
The ID of the transaction.
OptionalstatusCompletion status of the Span. See: {@sentry/tracing SpanStatus} for possible values
Tags for the transaction.
The ID of the trace.
OptionaltransactionThe transaction containing this span
OptionaltrimIf true, sets the end timestamp of the transaction to the highest timestamp of child spans, trimming the duration of the transaction. This is useful to discard extra time in the transaction that is not accounted for in child spans, like what happens in the idle transaction Tracing integration, where we finish the transaction after a given "idle time" and we don't want this "idle time" to be part of the transaction.
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.
Transaction "Class", inherits Span only has
setName