Sha256: 580bc3f04a6cdcc72b70ebd0bab9cbad04175b4faa944c2644b8287827ebd269

Contents?: true

Size: 229 Bytes

Versions: 6

Compression:

Stored size: 229 Bytes

Contents

require 'active_support/notifications'

ActiveSupport::Notifications.subscribe(/\.action_mailer$/) do |event, started, finished, _, payload|
  Vx::Instrumentation.delivery event, payload, event.split("."), started, finished
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vx-instrumentation-0.1.8 lib/vx/instrumentation/probe/action_mailer.rb
vx-instrumentation-0.1.7 lib/vx/instrumentation/probe/action_mailer.rb
vx-instrumentation-0.1.6 lib/vx/instrumentation/probe/action_mailer.rb
vx-instrumentation-0.1.5 lib/vx/instrumentation/probe/action_mailer.rb
vx-instrumentation-0.1.4 lib/vx/instrumentation/probe/action_mailer.rb
vx-instrumentation-0.1.3 lib/vx/instrumentation/probe/action_mailer.rb