Module: Datadog::Tracing::Contrib::ActionCable::Patcher
- Includes:
- Patcher
- Defined in:
- lib/datadog/tracing/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
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 |
.target_version ⇒ Object
18 19 20 |
# File 'lib/datadog/tracing/contrib/action_cable/patcher.rb', line 18 def target_version Integration.version end |