Method: Datadog::Tracing::Contrib::ActionCable::Patcher.patch

Defined in:
lib/datadog/tracing/contrib/action_cable/patcher.rb

.patchObject



22
23
24
25
26
# File 'lib/datadog/tracing/contrib/action_cable/patcher.rb', line 22

def patch
  Events.subscribe!
  ::ActionCable::Connection::Base.prepend(Instrumentation::ActionCableConnection)
  ::ActionCable::Channel::Base.include(Instrumentation::ActionCableChannel)
end