Sha256: 49a00ea3683f0cbafc8d554e268f11bbfc0c14113425c3b495582444c98292ea
Contents?: true
Size: 696 Bytes
Versions: 2
Compression:
Stored size: 696 Bytes
Contents
require_relative '../patcher' require_relative 'ext' require_relative 'events' require_relative 'instrumentation' module Datadog module Tracing module Contrib module ActionCable # Patcher enables patching of 'action_cable' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch Events.subscribe! ::ActionCable::Connection::Base.prepend(Instrumentation::ActionCableConnection) ::ActionCable::Channel::Base.include(Instrumentation::ActionCableChannel) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.10.1 | lib/datadog/tracing/contrib/action_cable/patcher.rb |
ddtrace-1.10.0 | lib/datadog/tracing/contrib/action_cable/patcher.rb |