Class: Datadog::Core::Telemetry::Event::AppStarted

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

Overview

Telemetry class for the ‘app-started’ event

Instance Method Summary collapse

Instance Method Details

#payload(seq_id) ⇒ Object



27
28
29
30
31
32
33
34
35
36
# File 'lib/datadog/core/telemetry/event.rb', line 27

def payload(seq_id)
  @seq_id = seq_id
  {
    products: products,
    configuration: configuration,
    install_signature: install_signature,
    # DEV: Not implemented yet
    # error: error, # Start-up errors
  }
end

#typeObject



23
24
25
# File 'lib/datadog/core/telemetry/event.rb', line 23

def type
  'app-started'
end