class OpenTracing::Scope

Scope represents an OpenTracing Scope

See www.opentracing.io for more information.

Constants

NOOP_INSTANCE

Public Instance Methods

close() click to toggle source

Mark the end of the active period for the current thread and Scope, updating the ScopeManager#active in the process.

NOTE: Calling close more than once on a single Scope instance leads to undefined behavior.

# File lib/opentracing/scope.rb, line 20
def close; end
span() click to toggle source

Return the Span scoped by this Scope

@return [Span]

# File lib/opentracing/scope.rb, line 11
def span
  Span::NOOP_INSTANCE
end