Module: Datadog::Core::Remote::Tie

Defined in:
lib/datadog/core/remote/tie.rb,
lib/datadog/core/remote/tie/tracing.rb

Overview

Provide Remote Configuration extensions to other components

Defined Under Namespace

Modules: Tracing Classes: Boot

Class Method Summary collapse

Class Method Details

.bootObject



13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/datadog/core/remote/tie.rb', line 13

def self.boot
  return if Datadog::Core::Remote.active_remote.nil?

  barrier = nil

  t = Datadog::Core::Utils::Time.measure do
    barrier = Datadog::Core::Remote.active_remote.barrier(:once)
  end

  # steep does not permit the next line due to
  # https://github.com/soutaro/steep/issues/1231
  Boot.new(barrier, t)
end