module Aws::Rails
def self.instrument_sdk_operations
client operations. Each operation will produce an event with a name:
Adds ActiveSupport Notifications instrumentation to AWS SDK
def self.instrument_sdk_operations Aws.constants.each do |c| m = Aws.const_get(c) if m.is_a?(Module) && m.const_defined?(:Client) && m.const_get(:Client).superclass == Seahorse::Client::Base m.const_get(:Client).add_plugin(Aws::Rails::Notifications) end end end