Class: ElasticAPM::Metadata Private
- Inherits:
-
Object
- Object
- ElasticAPM::Metadata
- Defined in:
- lib/elastic_apm/metadata.rb,
lib/elastic_apm/metadata/system_info.rb,
lib/elastic_apm/metadata/process_info.rb,
lib/elastic_apm/metadata/service_info.rb,
lib/elastic_apm/metadata/system_info/container_info.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: ProcessInfo, ServiceInfo, SystemInfo
Instance Attribute Summary collapse
- #process ⇒ Object readonly private
- #service ⇒ Object readonly private
- #system ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(config) ⇒ Metadata
constructor
private
A new instance of Metadata.
Constructor Details
#initialize(config) ⇒ Metadata
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 Metadata.
6 7 8 9 10 |
# File 'lib/elastic_apm/metadata.rb', line 6 def initialize(config) @service = ServiceInfo.new(config) @process = ProcessInfo.new(config) @system = SystemInfo.new(config) end |
Instance Attribute Details
#process ⇒ Object (readonly)
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.
12 13 14 |
# File 'lib/elastic_apm/metadata.rb', line 12 def process @process end |
#service ⇒ Object (readonly)
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.
12 13 14 |
# File 'lib/elastic_apm/metadata.rb', line 12 def service @service end |
#system ⇒ Object (readonly)
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.
12 13 14 |
# File 'lib/elastic_apm/metadata.rb', line 12 def system @system end |