Method: Atatus::OpenTracing::Span#initialize
- Defined in:
- lib/atatus/opentracing.rb
#initialize(atatus_span, span_context) ⇒ Span
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Span.
27 28 29 30 |
# File 'lib/atatus/opentracing.rb', line 27 def initialize(atatus_span, span_context) @atatus_span = atatus_span @span_context = span_context end |