Class: Datadog::OpenTracer::Scope
- Inherits:
-
OpenTracing::Scope
- Object
- OpenTracing::Scope
- Datadog::OpenTracer::Scope
- Defined in:
- lib/ddtrace/opentracer/scope.rb
Overview
OpenTracing adapter for scope
Direct Known Subclasses
Instance Attribute Summary collapse
-
#manager ⇒ Object
readonly
Returns the value of attribute manager.
-
#span ⇒ Object
readonly
Returns the value of attribute span.
Instance Method Summary collapse
-
#initialize(manager:, span:) ⇒ Scope
constructor
A new instance of Scope.
Constructor Details
#initialize(manager:, span:) ⇒ Scope
Returns a new instance of Scope.
9 10 11 12 |
# File 'lib/ddtrace/opentracer/scope.rb', line 9 def initialize(manager:, span:) @manager = manager @span = span end |
Instance Attribute Details
#manager ⇒ Object (readonly)
Returns the value of attribute manager.
5 6 7 |
# File 'lib/ddtrace/opentracer/scope.rb', line 5 def manager @manager end |
#span ⇒ Object (readonly)
Returns the value of attribute span.
5 6 7 |
# File 'lib/ddtrace/opentracer/scope.rb', line 5 def span @span end |