Represents high resolution time.
Attribute values may be any non-nullish primitive value except an object.
null or undefined attribute values are invalid and will result in undefined behavior.
Used to represent a Time.
Entrypoint for context API
Generates a SpanContext
given a traceparent
header value.
The SpanContext
generated from the traceparent
value.
Get the span context of the span if it exists.
context to get values from
Generates a traceparent
value given a span context.
Contains context for a specific span.
The spanContext
represented as a traceparent
value.
Returns true of the given SpanContext is valid. A valid SpanContext is one which has a valid trace ID and span ID as per the spec.
the SpanContext to validate.
true if the SpanContext is valid, false otherwise.
Wrap span context in a NoopSpan and set as span in a new context
context to set active span on
span context to be wrapped
Generated using TypeDoc
An Exception for a Span.