Sha256: bfcc5fe33eaa861e9ed7a5e9547ac78f06eba62595f849731271a6d16ff7e515
Contents?: true
Size: 807 Bytes
Versions: 4
Compression:
Stored size: 807 Bytes
Contents
# typed: true require 'datadog/tracing/contrib/patcher' require 'datadog/tracing/contrib/action_cable/ext' require 'datadog/tracing/contrib/action_cable/events' require 'datadog/tracing/contrib/action_cable/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
4 entries across 4 versions & 1 rubygems