Class: Datadog::Core::Telemetry::Event::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/core/telemetry/event.rb

Overview

Base class for all Telemetry V2 events.

Instance Method Summary collapse

Instance Method Details

#payload(seq_id) ⇒ Object

The JSON payload for the event.

Parameters:

  • seq_id (Integer)

    The sequence ID for the event.



16
17
18
# File 'lib/datadog/core/telemetry/event.rb', line 16

def payload(seq_id)
  {}
end

#typeObject

The type of the event. It must be one of the stings defined in the Telemetry V2 specification for event names.



12
# File 'lib/datadog/core/telemetry/event.rb', line 12

def type; end