Attributes for the transaction.
Data for the transaction.
Optional
descriptionDescription of the Span.
Optional
endTimestamp in seconds (epoch time) indicating when the span ended.
Optional
exclusiveExclusive time in milliseconds.
The instrumenter that created this transaction.
Optional
measurementsMeasurements of the Span.
Metadata about the transaction.
Human-readable identifier for the transaction.
Optional
opOperation of the Span.
Optional
originThe origin of the span, giving context about what created the span.
Optional
parentIf this transaction has a parent, the parent's sampling decision
Optional
parentParent Span ID
Optional
sampledWas this transaction chosen to be sent as part of the sample?
The ID of the transaction.
Optional
statusCompletion status of the Span. See: {@sentry/tracing SpanStatus} for possible values
Tags for the transaction.
The ID of the trace.
Optional
transactionThe transaction containing this span
Optional
trimIf 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.
Creates a new Span
while setting the current Span.id
as parentSpanId
.
Also the sampled
decision will be inherited.
Optional
spanContext: Pick<
Transaction "Class", inherits Span only has
setName