Sha256: b35c09997e1dd2872451853744c53f304e65225dd97a710a16f0c8dce699b9d0
Contents?: true
Size: 537 Bytes
Versions: 10
Compression:
Stored size: 537 Bytes
Contents
require 'ddtrace/contrib/patcher' module Datadog module Contrib module Sinatra # Patcher enables patching of 'sinatra' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require 'ddtrace/contrib/sinatra/tracer' register_tracer end def register_tracer ::Sinatra.send(:register, Datadog::Contrib::Sinatra::Tracer) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems