Sha256: 0f2ba10531d210b0eca8551a2805ab5e49325e6e56d8fe4dcb8acf8352437ff7
Contents?: true
Size: 563 Bytes
Versions: 2
Compression:
Stored size: 563 Bytes
Contents
require_relative '../patcher' require_relative 'instrumentation' module Datadog module Tracing module Contrib module Mysql2 # Patcher enables patching of 'mysql2' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch patch_mysql2_client end def patch_mysql2_client ::Mysql2::Client.include(Instrumentation) 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/mysql2/patcher.rb |
ddtrace-1.10.0 | lib/datadog/tracing/contrib/mysql2/patcher.rb |