Class: Datadog::OpenTracer::Scope
- Inherits:
-
OpenTracing::Scope
- Object
- OpenTracing::Scope
- Datadog::OpenTracer::Scope
- Defined in:
- lib/datadog/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.
12 13 14 15 |
# File 'lib/datadog/opentracer/scope.rb', line 12 def initialize(manager:, span:) @manager = manager @span = span end |
Instance Attribute Details
#manager ⇒ Object (readonly)
Returns the value of attribute manager.
8 9 10 |
# File 'lib/datadog/opentracer/scope.rb', line 8 def manager @manager end |
#span ⇒ Object (readonly)
Returns the value of attribute span.
8 9 10 |
# File 'lib/datadog/opentracer/scope.rb', line 8 def span @span end |