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

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

Overview

Collection of telemetry events

Defined Under Namespace

Classes: AppClientConfigurationChange, AppClosing, AppDependenciesLoaded, AppHeartbeat, AppIntegrationsChange, AppStarted, Base, Distributions, GenerateMetrics, Log, MessageBatch

Class Method Summary collapse

Methods included from Utils::Forking

after_fork!, extended, fork_pid, forked?, included, update_fork_pid!

Class Method Details

.configuration_sequenceObject

returns sequence that increments every time the configuration changes



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

def self.configuration_sequence
  after_fork! { @sequence = Datadog::Core::Utils::Sequence.new(1) }
  @sequence ||= Datadog::Core::Utils::Sequence.new(1)
end