Data of the Span.
Optional
descriptionDescription of the Span.
Optional
endTimestamp in seconds when the span ended.
The instrumenter that created this span.
Optional
opOperation of the Span.
Optional
parentParent Span ID
Optional
sampledWas this span chosen to be sent as part of the sample?
Span ID
Optional
spanList of spans that were finalized
Timestamp in seconds when the span was created.
Optional
statusInternal keeper of the status
Tags of the Span.
Trace ID
Optional
transactionThe transaction containing this span
Creates a new Span
while setting the current Span.id
as parentSpanId
.
Also the sampled
decision will be inherited.
Optional
spanContext: Pick<SpanContext, "status" | "tags" | "data" | "description" | "op" | "instrumenter" | "spanId" | "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 contains all data about a span