lib/opentelemetry/instrumentation/action_pack/instrumentation.rb in opentelemetry-instrumentation-action_pack-0.8.0 vs lib/opentelemetry/instrumentation/action_pack/instrumentation.rb in opentelemetry-instrumentation-action_pack-0.9.0
- old
+ new
@@ -30,14 +30,14 @@
def gem_version
::ActionPack.version
end
def patch
- ::ActionController::Metal.prepend(Patches::ActionController::Metal)
+ Handlers.subscribe
end
def require_dependencies
- require_relative 'patches/action_controller/metal'
+ require_relative 'handlers'
end
def require_railtie
require_relative 'railtie'
end