module Datadog::Contrib::Mysql2::Patcher
Patcher
enables patching of 'mysql2' module.
Public Instance Methods
patch()
click to toggle source
# File lib/ddtrace/contrib/mysql2/patcher.rb, line 18 def patch patch_mysql2_client end
patch_mysql2_client()
click to toggle source
# File lib/ddtrace/contrib/mysql2/patcher.rb, line 22 def patch_mysql2_client ::Mysql2::Client.include(Instrumentation) end
target_version()
click to toggle source
# File lib/ddtrace/contrib/mysql2/patcher.rb, line 14 def target_version Integration.version end