Method: #apply_instrumentations

Defined in:
lib/helios/opentelemetry/sdk/instrumentations.rb

#apply_instrumentations(otel_config) ⇒ Object



45
46
47
48
49
50
51
52
53
# File 'lib/helios/opentelemetry/sdk/instrumentations.rb', line 45

def apply_instrumentations(otel_config)
  SUPPORTED_INSTRUMENTATIONS.each do |instrumentation, config|
    next if config.nil?

    otel_config.use(instrumentation, config)
  end

  additional_patches
end