Class: Datadog::Core::Telemetry::Event::AppStarted Private
- Defined in:
- lib/datadog/core/telemetry/event/app_started.rb
Overview
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.
Telemetry class for the ‘app-started’ event
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(agent_settings:) ⇒ AppStarted
constructor
private
A new instance of AppStarted.
- #payload ⇒ Object private
- #type ⇒ Object private
Methods inherited from Base
Constructor Details
#initialize(agent_settings:) ⇒ AppStarted
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 AppStarted.
11 12 13 |
# File 'lib/datadog/core/telemetry/event/app_started.rb', line 11 def initialize(agent_settings:) @agent_settings = agent_settings end |
Instance Method Details
#payload ⇒ Object
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.
19 20 21 22 23 24 25 26 27 |
# File 'lib/datadog/core/telemetry/event/app_started.rb', line 19 def payload { products: products, configuration: configuration, install_signature: install_signature, # DEV: Not implemented yet # error: error, # Start-up errors } end |
#type ⇒ Object
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.
15 16 17 |
# File 'lib/datadog/core/telemetry/event/app_started.rb', line 15 def type 'app-started' end |