module Datadog::Contrib::ActionCable::Patcher

Patcher enables patching of 'action_cable' module.

Public Instance Methods

patch() click to toggle source
# File lib/ddtrace/contrib/action_cable/patcher.rb, line 20
def patch
  Events.subscribe!
  ::ActionCable::Connection::Base.prepend(Instrumentation::ActionCableConnection)
end
target_version() click to toggle source
# File lib/ddtrace/contrib/action_cable/patcher.rb, line 16
def target_version
  Integration.version
end