Module: Datadog::Contrib::ActionCable::Patcher
- Includes:
- Patcher
- Defined in:
- lib/ddtrace/contrib/action_cable/patcher.rb
Overview
Patcher enables patching of 'action_cable' module.
Class Method Summary collapse
Methods included from Patcher
Class Method Details
.patch ⇒ Object
21 22 23 24 25 |
# File 'lib/ddtrace/contrib/action_cable/patcher.rb', line 21 def patch Events.subscribe! ::ActionCable::Connection::Base.prepend(Instrumentation::ActionCableConnection) ::ActionCable::Channel::Base.include(Instrumentation::ActionCableChannel) end |
.target_version ⇒ Object
17 18 19 |
# File 'lib/ddtrace/contrib/action_cable/patcher.rb', line 17 def target_version Integration.version end |