Gets the span from the current context, if one exists.
Get the span context of the span if it exists.
context to get values from
Returns true if this SpanContext is valid.
true if this SpanContext is valid.
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
Wrap the given SpanContext in a new non-recording Span
span context to be wrapped
a new non-recording Span with the provided context
Remove the global tracer provider
Returns a tracer from the global tracer provider.
Returns the global tracer provider.
Set the current global tracer.
true if the tracer provider was successfully registered, else false
Get the singleton instance of the Trace API
Generated using TypeDoc
Singleton object which represents the entry point to the OpenTelemetry Tracing API
1.0.0