module Datadog::Contrib::ConcurrentRuby::Patcher
Patcher
enables patching of 'Future' class.
Public Instance Methods
patch()
click to toggle source
# File lib/ddtrace/contrib/concurrent_ruby/patcher.rb, line 18 def patch require 'ddtrace/contrib/concurrent_ruby/future_patch' patch_future end
patch_future()
click to toggle source
Propagate tracing context in Concurrent::Future
# File lib/ddtrace/contrib/concurrent_ruby/patcher.rb, line 24 def patch_future ::Concurrent::Future.include(FuturePatch) end
target_version()
click to toggle source
# File lib/ddtrace/contrib/concurrent_ruby/patcher.rb, line 14 def target_version Integration.version end