Class: Atatus::Span::Context::Service Private

Inherits:
Object
  • Object
show all
Includes:
Fields
Defined in:
lib/atatus/span/context/service.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Target

Instance Method Summary collapse

Methods included from Fields

included

Constructor Details

#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