Module: Datadog::Tracing::Contrib::Shoryuken::Patcher
- Includes:
- Patcher
- Defined in:
- lib/datadog/tracing/contrib/shoryuken/patcher.rb
Overview
Patcher enables patching of ‘shoryuken’ module.
Class Method Summary collapse
Methods included from Patcher
Class Method Details
.patch ⇒ Object
19 20 21 22 23 |
# File 'lib/datadog/tracing/contrib/shoryuken/patcher.rb', line 19 def patch ::Shoryuken.server_middleware do |chain| chain.add Shoryuken::Tracer end end |
.target_version ⇒ Object
15 16 17 |
# File 'lib/datadog/tracing/contrib/shoryuken/patcher.rb', line 15 def target_version Integration.version end |