Remove current span stored in the context
context to delete span from
Gets the span from the current context, if one exists.
Return the span if one exists
context to get span from
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.
Set the span on a context
context to use as parent
span to set active
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.
Optional
version: stringReturns the global tracer provider.
Set the current global tracer.
true if the tracer provider was successfully registered, else false
Static
getGet the singleton instance of the Trace API
Singleton object which represents the entry point to the OpenTelemetry Tracing API
Since
1.0.0