Method: Atatus::Span::Context::Service#initialize
- Defined in:
- lib/atatus/span/context/service.rb
#initialize(target: nil, **attrs) ⇒ Service
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 Service.
37 38 39 40 41 |
# File 'lib/atatus/span/context/service.rb', line 37 def initialize(target: nil, **attrs) super(**attrs) self.target = build_target(target) end |