lib/ddtrace/contrib/grape/patcher.rb in ddtrace-0.49.0 vs lib/ddtrace/contrib/grape/patcher.rb in ddtrace-0.50.0
- old
+ new
@@ -18,10 +18,10 @@
Integration.version
end
def patch
# Patch endpoints
- ::Grape::Endpoint.send(:include, Instrumentation)
+ ::Grape::Endpoint.include(Instrumentation)
# Subscribe to ActiveSupport events
Datadog::Contrib::Grape::Endpoint.subscribe
end
end