Sha256: 963dd839f1a8340c870c3ef6def24e8bfdccf769095ef3d239dcfdff73c17d7b

Contents?: true

Size: 554 Bytes

Versions: 40

Compression:

Stored size: 554 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2021

module Instana
  module Instrumentation
    module ActionMailer
      def method_missing(method_name, *args) # rubocop:disable Style/MissingRespondToMissing
        if action_methods.include?(method_name.to_s)
          tags = {
            actionmailer: {
              class: to_s,
              method: method_name.to_s
            }
          }
          Instana::Tracer.trace(:'mail.actionmailer', tags) { super }
        else
          super
        end
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
instana-1.217.1 lib/instana/instrumentation/action_mailer.rb
instana-1.217.0 lib/instana/instrumentation/action_mailer.rb
instana-1.216.0 lib/instana/instrumentation/action_mailer.rb
instana-1.215.1 lib/instana/instrumentation/action_mailer.rb
instana-1.215.0 lib/instana/instrumentation/action_mailer.rb
instana-1.214.4 lib/instana/instrumentation/action_mailer.rb
instana-1.214.3 lib/instana/instrumentation/action_mailer.rb
instana-1.214.2 lib/instana/instrumentation/action_mailer.rb
instana-1.214.1 lib/instana/instrumentation/action_mailer.rb
instana-1.214.0 lib/instana/instrumentation/action_mailer.rb
instana-1.213.3 lib/instana/instrumentation/action_mailer.rb
instana-1.213.2 lib/instana/instrumentation/action_mailer.rb
instana-1.213.1 lib/instana/instrumentation/action_mailer.rb
instana-1.213.0 lib/instana/instrumentation/action_mailer.rb
instana-1.212.0 lib/instana/instrumentation/action_mailer.rb
instana-1.211.0 lib/instana/instrumentation/action_mailer.rb
instana-1.210.1 lib/instana/instrumentation/action_mailer.rb
instana-1.210.0 lib/instana/instrumentation/action_mailer.rb
instana-1.209.8 lib/instana/instrumentation/action_mailer.rb
instana-1.209.7 lib/instana/instrumentation/action_mailer.rb