Sha256: d2b3bcdd5a6b23f4c4411f08e20f10d971d913df1f19f74a6a7c0e11cbd37161
Contents?: true
Size: 536 Bytes
Versions: 5
Compression:
Stored size: 536 Bytes
Contents
# typed: true require 'ddtrace/contrib/patcher' require 'ddtrace/contrib/mysql2/instrumentation' module Datadog 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
Version data entries
5 entries across 5 versions & 1 rubygems