Sha256: bd9dbee773e77d2ff0ed987ef23aa537aff2d70965429081a99ce55fe8afd358
Contents?: true
Size: 527 Bytes
Versions: 132
Compression:
Stored size: 527 Bytes
Contents
module Appsignal class Hooks class ActionMailerHook < Appsignal::Hooks::Hook register :action_mailer def dependencies_present? defined?(::ActionMailer) end def install ActiveSupport::Notifications .subscribe("process.action_mailer") do |_, _, _, _, payload| Appsignal.increment_counter( :action_mailer_process, 1, :mailer => payload[:mailer], :action => payload[:action] ) end end end end end
Version data entries
132 entries across 132 versions & 1 rubygems