Class: Datadog::Core::Telemetry::Event::Base
- Inherits:
-
Object
- Object
- Datadog::Core::Telemetry::Event::Base
- Defined in:
- lib/datadog/core/telemetry/event.rb
Overview
Base class for all Telemetry V2 events.
Direct Known Subclasses
AppClientConfigurationChange, AppClosing, AppDependenciesLoaded, AppHeartbeat, AppIntegrationsChange, AppStarted, GenerateMetrics, Log
Instance Method Summary collapse
-
#payload ⇒ Object
The JSON payload for the event.
-
#type ⇒ Object
The type of the event.
Instance Method Details
#payload ⇒ Object
The JSON payload for the event.
29 30 31 |
# File 'lib/datadog/core/telemetry/event.rb', line 29 def payload {} end |
#type ⇒ Object
The type of the event. It must be one of the stings defined in the Telemetry V2 specification for event names.
24 25 26 |
# File 'lib/datadog/core/telemetry/event.rb', line 24 def type raise NotImplementedError, 'Must be implemented by subclass' end |