Class: ElasticAPM::Span::Context::Service Private
- Inherits:
-
Object
- Object
- ElasticAPM::Span::Context::Service
- Includes:
- Fields
- Defined in:
- lib/elastic_apm/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
-
#initialize(target: nil, **attrs) ⇒ Service
constructor
private
A new instance of Service.
Methods included from Fields
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/elastic_apm/span/context/service.rb', line 37 def initialize(target: nil, **attrs) super(**attrs) self.target = build_target(target) end |