Sha256: 07cc3a14e3f49ea4529a24ab2294d129e1b5889d8c9c0b92231d14e2b55cd098
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
require_relative '../patcher' require_relative 'ext' module Datadog module Tracing module Contrib module SuckerPunch # Patcher enables patching of 'sucker_punch' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require_relative 'exception_handler' require_relative 'instrumentation' ExceptionHandler.patch! Instrumentation.patch! end def get_option(option) Datadog.configuration.tracing[:sucker_punch].get_option(option) 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/sucker_punch/patcher.rb |
ddtrace-1.10.0 | lib/datadog/tracing/contrib/sucker_punch/patcher.rb |