Sha256: aae363bc1a0e9b42606d9e2258fc23536bb74c1fa0364ffd3ea330d48a8e4229

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 Bytes

Contents

require 'active_support/notifications'
require 'vx/instrumentation'

ActiveSupport::Notifications.subscribe(/\.action_view$/) do |event, started, finished, _, payload|
  if event[0] != "!"
    Vx::Instrumentation.delivery event, payload, event.split("."), started, finished
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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