Data of the Span.
Optional
descriptionDescription of the Span.
Optional
endTimestamp in seconds (epoch time) indicating when the span ended.
Optional
opOperation of the Span.
Optional
parentParent Span ID
Optional
sampledWas this span chosen to be sent as part of the sample?
Span ID
Timestamp in seconds (epoch time) indicating when the span started.
Optional
statusCompletion status of the Span. See: {@sentry/tracing SpanStatus} for possible values
Tags of the Span.
Trace ID
Optional
transactionThe transaction containing this span
Use startChild
Optional
spanContext: Pick<SpanContext, "description" | "op" | "status" | "tags" | "data" | "startTimestamp" | "endTimestamp">Convert the object to JSON for w. spans array info only
Creates a new Span
while setting the current Span.id
as parentSpanId
.
Also the sampled
decision will be inherited.
Optional
spanContext: Pick<SpanContext, "description" | "op" | "status" | "tags" | "data" | "startTimestamp" | "endTimestamp">Returns the current span properties as a SpanContext
Convert the object to JSON
Optional
data?: { Optional
description?: stringOptional
op?: stringOptional
parent_Optional
status?: stringOptional
tags?: { Optional
timestamp?: numberUpdates the current span with a new SpanContext
Generated using TypeDoc
Span holding trace_id, span_id